freebsd-ports/devel/ztcl/files/patch-configure
Pav Lucistnik 20272643d1 ZTCL is an extension library for TCL written in the C language. It
implements an interface to the ZLIB compression and decompression
library, the one used by GZIP.

WWW: http://gna.org/projects/ztcl/

PR:		ports/96365
Submitted by:	Denis Shaposhnikov <dsh@vlink.ru>
2006-04-29 16:02:24 +00:00

25 lines
834 B
Text

--- configure.orig Sat May 22 09:41:22 2004
+++ configure Wed Apr 26 12:01:02 2006
@@ -3986,7 +3986,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-ltclmorestub0.7 -ltclstub8.4 $LIBS"
+LIBS="-ltclmorestub0.7 -ltclstub84 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
@@ -7892,11 +7892,12 @@
EXTRA_CFLAGS="-pthread"
LDFLAGS="$LDFLAGS -pthread"
fi
+ SHARED_LIB_SUFFIX='${VERSION}\$\{DBGX\}${SHLIB_SUFFIX}.0'
case $system in
FreeBSD-3.*)
# 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.0'
TCL_LIB_VERSIONS_OK=nodots
;;
esac