30 lines
1 KiB
Text
30 lines
1 KiB
Text
$NetBSD: patch-aa,v 1.9 2005/10/07 17:39:26 perry Exp $
|
|
|
|
--- configure.in.orig 2002-10-04 01:33:23.000000000 -0400
|
|
+++ configure.in 2005-10-07 13:12:02.000000000 -0400
|
|
@@ -716,8 +716,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
|
|
|
|
@@ -1236,11 +1236,13 @@
|
|
|
|
*-netbsd*|*-freebsd*|*-openbsd*)
|
|
# Not available on all versions: check for include file.
|
|
+ EXTRA_LIB_SPECS="$PTHREAD_LDFLAGS"
|
|
AC_CHECK_HEADER(dlfcn.h, test_ok=yes, test_ok=no)
|
|
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
|
|
;;
|
|
|