0395d12355
on systems that already worked, so no PKGREVISION bump.
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
$NetBSD: patch-aa,v 1.7 2002/03/31 14:37:30 abs Exp $
|
|
|
|
--- configure.in.orig Wed Jan 12 20:15:36 2000
|
|
+++ configure.in
|
|
@@ -580,7 +580,7 @@
|
|
TK_LIB_DIR=${TK_EXEC_PREFIX}/lib
|
|
|
|
case $target in
|
|
- *-sunos4*|NetBSD-*|FreeBSD-*|OpenBSD-*)
|
|
+ *-sunos4*|*-*-netbsd*|FreeBSD-*|OpenBSD-*)
|
|
TCL_LIB_SPEC="-ltcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
|
|
TK_LIB_SPEC="-ltk${TK_MAJOR_VERSION}${TK_MINOR_VERSION}"
|
|
;;
|
|
@@ -933,9 +933,10 @@
|
|
# Not available on all versions: check for include file.
|
|
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
|
|
;;
|
|
|
|
@@ -1084,7 +1085,7 @@
|
|
# Propagate prefix argument as installation directory.
|
|
#--------------------------------------------------------------------
|
|
|
|
-BLT_LIBRARY="${prefix}/lib/blt${BLT_VERSION}"
|
|
+BLT_LIBRARY="${prefix}/lib/tcl/blt${BLT_VERSION}"
|
|
AC_SUBST(BLT_LIBRARY)
|
|
|
|
#--------------------------------------------------------------------
|