1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11-toolkits/blt/files/patch-aa
Satoshi Asami 07de11b8d5 Make this compile with tcl75 in /usr/lib. Make sure it won't accidentally
pick up libtclx as a valid tcl library (well, it matches "libtcl*") from
/usr/local/lib.  Use the value once it's found.
1996-10-16 08:33:03 +00:00

44 lines
1017 B
Plaintext

--- configure.orig Sun Apr 21 07:47:32 1996
+++ configure Sat Aug 3 18:59:02 1996
@@ -1460,7 +1460,7 @@
if test "$prefix" = "NONE"; then
if test -z "$PREFIX" ; then
- prefix=/usr/local/blt
+ prefix=/usr/local
else
prefix=$PREFIX
fi
@@ -2165,8 +2165,8 @@
blt_path_tcl_lib="$dir/itcl"
break
fi
- libnames=`echo $dir/libtcl*`
- if test "$libnames" != "$dir/libtcl*" ; then
+ libnames=`echo $dir/libtcl75*`
+ if test "$libnames" != "$dir/libtcl75*" ; then
blt_path_tcl_lib=$dir
break
fi
@@ -2312,10 +2311,7 @@
echo "$ac_t""no" 1>&6
fi
-if test "$TKLIBDIR" != "/usr/lib" ; then
- TKLIBSW="-L$TKLIBDIR -ltk${TK_VERSION}"
-fi
-
+TKLIBSW=$TK_LIB_SPEC
@@ -2634,6 +2630,8 @@
*-freebsd*|*-386bsd*|*-netbsd*)
SHLIB_CCFLAGS="-fpic"
SHLIB_LDFLAGS="-Bshareable"
+ SHLIB_LOADER="ld"
+ SHLIB_SUFFIX=".so.${blt_cv_major_version}.${blt_cv_minor_version}"
;;
*-linux*)
if eval "test \"`echo '$''{'blt_cv_sys_elf'+set}'`\" = set"; then