[BACK]Return to patch-configure CVS log [TXT][DIR] Up to [local] / ports / cad / tkgate / patches

File: [local] / ports / cad / tkgate / patches / Attic / patch-configure (download)

Revision 1.1, Mon Nov 10 13:11:23 2008 UTC (15 years, 7 months ago) by yason
Branch: MAIN

Initial revision

$OpenBSD$
--- configure.orig	Fri Jan 26 02:12:13 2007
+++ configure	Fri Jan  4 22:50:04 2008
@@ -32,7 +32,7 @@
 # Note: All options (except list of compilers) are now set in config.h
 
 # List of possible compliers
-compilers="gcc cc"
+compilers=${CC}
 
 ##################################################################
 #
@@ -68,9 +68,9 @@ done
 #
 # Initialize some variables (add to these as we find what we need)
 #
-LPATH=""
-IPATH=""
-LIBS=""
+LPATH=${LDFLAGS}
+IPATH=${CFLAGS}
+LIBS=${LIBS}
 TCLTKOK=1
 
 ##################################################################
@@ -864,7 +864,7 @@ if [ $notests = 0 ]; then 
     setconfigvar tcltk_versions TKGATE_TCLTK_VERSIONS
     setconfigvar jp_tcltk_versions TKGATE_JP_TCLTK_VERSIONS
 
-    homedir="${homedirbase}/tkgate-$gateversion"
+    homedir="${homedirbase}/tkgate"
     find_tcltk_version
     tcltk_ok_check
     langsetup