mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
78eac1eef3
koi8-u.enc now in distribution
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
--- configure.orig Sat Aug 17 21:04:03 2002
|
|
+++ configure Mon Sep 9 12:59:14 2002
|
|
@@ -5482,7 +5482,7 @@
|
|
EXTRA_CFLAGS=""
|
|
TCL_EXPORT_FILE_SUFFIX=""
|
|
UNSHARED_LIB_SUFFIX=""
|
|
- TCL_TRIM_DOTS='`echo ${VERSION} | tr -d .`'
|
|
+ TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .`
|
|
ECHO_VERSION='`echo ${VERSION}`'
|
|
TCL_LIB_VERSIONS_OK=ok
|
|
CFLAGS_DEBUG=-g
|
|
@@ -6143,12 +6143,13 @@
|
|
FreeBSD-*)
|
|
# FreeBSD 3.* and greater have ELF.
|
|
SHLIB_CFLAGS="-fPIC"
|
|
- SHLIB_LD="ld -Bshareable -x"
|
|
+ SHLIB_LD="ld -shared -x"
|
|
+ TCL_SHLIB_LD_EXTRAS="-soname \$@"
|
|
SHLIB_LD_LIBS='${LIBS}'
|
|
SHLIB_SUFFIX=".so"
|
|
DL_OBJS="tclLoadDl.o"
|
|
DL_LIBS=""
|
|
- LDFLAGS="-export-dynamic"
|
|
+ LDFLAGS=""
|
|
CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
|
|
LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
|
|
if test "${TCL_THREADS}" = "1" ; then
|
|
@@ -6156,10 +6157,10 @@
|
|
LDFLAGS="$LDFLAGS -pthread"
|
|
fi
|
|
case $system in
|
|
- FreeBSD-3.*)
|
|
+ FreeBSD-*)
|
|
# FreeBSD-3 doesn't handle version numbers with dots.
|
|
UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.a'
|
|
- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
|
|
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1'
|
|
TCL_LIB_VERSIONS_OK=nodots
|
|
;;
|
|
esac
|