freebsd-ports/x11-toolkits/tk82/files/patch-aa

48 lines
1.4 KiB
Text
Raw Normal View History

2009-10-26 16:38:48 +01:00
--- configure.orig 1999-12-15 05:00:19.000000000 +0100
+++ configure 2009-10-26 16:31:21.000000000 +0100
@@ -1453,7 +1453,7 @@
# results, and the version is kept in special file).
if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
- system=MP-RAS-`awk '{print }' /etc/.relid'`
+ system=MP-RAS-`awk '{print }' '/etc/.relid'`
fi
if test "`uname -s`" = "AIX" ; then
system=AIX-`uname -v`.`uname -r`
2002-12-09 09:25:50 +01:00
@@ -1757,7 +1757,7 @@
LDFLAGS="-Wl,-Bexport"
LD_SEARCH_FLAGS=""
;;
1999-11-22 05:51:31 +01:00
- NetBSD-*|FreeBSD-[1-2].*|OpenBSD-*)
+ NetBSD-*|FreeBSD-*|OpenBSD-*)
# Not available on all versions: check for include file.
ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
@@ -1788,15 +1788,15 @@
2002-12-09 09:25:50 +01:00
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
2002-12-09 09:25:50 +01:00
- SHLIB_CFLAGS="-fpic"
- SHLIB_LD="ld -Bshareable -x"
2002-12-09 09:25:50 +01:00
+ SHLIB_CFLAGS="-fPIC"
SHLIB_LD_LIBS=""
SHLIB_SUFFIX=".so"
DL_OBJS="tclLoadDl.o"
DL_LIBS=""
LDFLAGS=""
LD_SEARCH_FLAGS=""
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.1'
+ SHLIB_LD="ld -shared -x -soname \$@"
else
echo "$ac_t""no" 1>&6
2009-10-26 16:38:48 +01:00
@@ -2267,6 +2267,7 @@
echo "$ac_t""no" 1>&6
fi
+TCL_SRC_DIR=${prefix}/include/tcl${TCL_VERSION}
LIB_RUNTIME_DIR='${LIB_RUNTIME_DIR}'