diff options
Diffstat (limited to 'lang/gcl/files/patch-configure')
-rw-r--r-- | lang/gcl/files/patch-configure | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/lang/gcl/files/patch-configure b/lang/gcl/files/patch-configure index beef4474d033..f6f2bdbf07e6 100644 --- a/lang/gcl/files/patch-configure +++ b/lang/gcl/files/patch-configure @@ -1,21 +1,31 @@ --- configure 2005-01-15 11:17:17.000000000 -0800 +++ configure 2007-09-22 18:17:38.000000000 -0700 -@@ -1713,3 +1713,3 @@ - if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then -- system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'` -+ system=MP-RAS-`${AWK} '{print $3}' /etc/.relid` - fi -@@ -6368,4 +6368,4 @@ +@@ -4998,7 +4998,7 @@ + TLIBS="$TLIBS -lgmp" + echo "#include \"gmp.h\"" >foo.c + echo "int main() {return 0;}" >>foo.c +- MP_INCLUDE=`cpp foo.c | grep /gmp.h | head -n 1 | $AWK '{print $3}' | tr -d '"'` ++ MP_INCLUDE=`$CPP $CPPFLAGS foo.c | grep /gmp.h | head -n 1 | $AWK '{print $3}' | tr -d '"'` + rm -f foo.c + else + echo "Cannot use dynamic gmp lib" +@@ -8399,15 +8399,15 @@ + if test -f ${TK_CONFIG_PREFIX}/../include/tk.h ; then + TK_INCLUDE=-I${TK_CONFIG_PREFIX}/../include else - if test -f /usr/include/tcl${TCL_VERSION}/tk.h ; then - TK_INCLUDE=-I/usr/include/tcl${TCL_VERSION} + if test -f ${TK_CONFIG_PREFIX}/../../include/tk${TCL_VERSION}/tk.h ; then + TK_INCLUDE=-I${TK_CONFIG_PREFIX}/../../include/tk${TCL_VERSION} - fi -@@ -6375,4 +6375,4 @@ + fi + fi + if test -f ${TCL_CONFIG_PREFIX}/../include/tcl.h ; then + TCL_INCLUDE=-I${TCL_CONFIG_PREFIX}/../include else - if test -f /usr/include/tcl${TCL_VERSION}/tcl.h ; then - TCL_INCLUDE=-I/usr/include/tcl${TCL_VERSION} + if test -f ${TK_CONFIG_PREFIX}/../../include/tcl${TCL_VERSION}/tcl.h ; then + TCL_INCLUDE=-I${TK_CONFIG_PREFIX}/../../include/tcl${TCL_VERSION} fi + fi + |