$NetBSD: patch-ae,v 1.3 2002/09/23 22:39:23 jlam Exp $ --- configure.orig Wed Jan 12 12:15:36 2000 +++ configure @@ -2694,7 +2694,7 @@ TCL_LIB_DIR=${TCL_EXEC_PREFIX}/lib 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}" ;; @@ -3391,9 +3391,10 @@ test_ok=no 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 ;; @@ -3542,7 +3543,7 @@ INCLUDES=${INC_SPECS} # Propagate prefix argument as installation directory. #-------------------------------------------------------------------- -BLT_LIBRARY="${prefix}/lib/blt${BLT_VERSION}" +BLT_LIBRARY="${prefix}/lib/tcl/blt${BLT_VERSION}" #--------------------------------------------------------------------