[SM-Commit] GIT changes to master grimoire by Peng Chang (Charles) (4c5b288ad2b3d808b37a2bc2042887de5c0ecd7b)

Peng Chang (Charles) scm at sourcemage.org
Fri Jun 12 11:21:01 EDT 2009


GIT changes to master grimoire by Peng Chang (Charles) <chp at sourcemage.org>:

 devel/gcl/DEPENDS   |    3 ++-
 devel/gcl/HISTORY   |    5 +++++
 devel/gcl/PRE_BUILD |    6 ++++--
 3 files changed, 11 insertions(+), 3 deletions(-)

New commits:
commit 4c5b288ad2b3d808b37a2bc2042887de5c0ecd7b
Author: Peng Chang (Charles) <chp at sourcemage.org>
Commit: Peng Chang (Charles) <chp at sourcemage.org>

    gcl: added optional_depends tetex

diff --git a/devel/gcl/DEPENDS b/devel/gcl/DEPENDS
index 2cd1f05..e3331dd 100755
--- a/devel/gcl/DEPENDS
+++ b/devel/gcl/DEPENDS
@@ -11,4 +11,5 @@ optional_depends "tcl"                  \
 optional_depends "tk"                      \
                "--enable-tkconfig=$(gaze from tkConfig.sh | cut -d/ -f2-3)"  \
                   ""                        \
-                  "For a GCL connection with the windowing tools of TK"
+                  "For a GCL connection with the windowing tools of TK"  &&
+optional_depends "tetex" "" "" "For generating dwdoc.pdf"
diff --git a/devel/gcl/HISTORY b/devel/gcl/HISTORY
index 44707aa..8b19246 100644
--- a/devel/gcl/HISTORY
+++ b/devel/gcl/HISTORY
@@ -1,3 +1,8 @@
+2009-06-12 Peng Chang (Charles) <chp at sourcemage.org>
+	* DEPENDS: added optional_depends tetex
+	* PRE_BUILD: suppressed generating dwdoc.pdf if tetex is
+	  not depended upon
+
 2009-06-11 Peng Chang (Charles) <chp at sourcemage.org>
 	* DETAILS: updated to 2.6.7, added cvs
 	* PREPARE: added cvs and warn that 2.6.7 may not compile
diff --git a/devel/gcl/PRE_BUILD b/devel/gcl/PRE_BUILD
index 0f439cf..105d834 100755
--- a/devel/gcl/PRE_BUILD
+++ b/devel/gcl/PRE_BUILD
@@ -1,4 +1,6 @@
 default_pre_build      &&
-cd  $SOURCE_DIRECTORY  &&
 
-patch -p1 < $SCRIPT_DIRECTORY/suppress_pdf.patch
+if ! is_depends_enabled $SPELL tetex; then
+  cd  $SOURCE_DIRECTORY  &&
+  patch -p1 < $SCRIPT_DIRECTORY/suppress_pdf.patch
+fi



More information about the SM-Commit mailing list