37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
$NetBSD: patch-ae,v 1.6 2005/10/07 17:39:26 perry Exp $
|
|
|
|
--- configure.orig 2002-10-04 01:33:59.000000000 -0400
|
|
+++ configure 2005-10-07 13:33:26.000000000 -0400
|
|
@@ -3384,8 +3384,8 @@
|
|
TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
|
|
;;
|
|
*)
|
|
- TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}.${TCL_MINOR_VERSION}"
|
|
- TK_LIB_NAME="tk${TK_MAJOR_VERSION}.${TK_MINOR_VERSION}"
|
|
+ TCL_LIB_NAME="tcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
|
|
+ TK_LIB_NAME="tk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
|
|
;;
|
|
esac
|
|
|
|
@@ -4072,7 +4072,8 @@
|
|
EXTRA_LIB_SPECS="-ldl"
|
|
;;
|
|
|
|
- *-netbsd*|*-freebsd*|*-openbsd*)
|
|
+ *-netbsd*|*-freebsd*|*-openbsd*|*-dragonfly*)
|
|
+ EXTRA_LIB_SPECS="$PTHREAD_LDFLAGS"
|
|
# 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
|
|
@@ -4109,9 +4110,10 @@
|
|
fi
|
|
|
|
if test "$test_ok" = yes; then
|
|
+ LDFLAGS="-L${prefix}/lib -L${X11BASE}/lib -Wl,-R${prefix}/lib -Wl,-R${X11BASE}/lib"
|
|
SHLIB_CFLAGS="-fpic"
|
|
SHLIB_LD="ld"
|
|
- SHLIB_LD_FLAGS="-Bshareable -x"
|
|
+ SHLIB_LD_FLAGS="-Bshareable -x -R${prefix}/lib -R${X11BASE}/lib"
|
|
fi
|
|
;;
|
|
|