freebsd-ports/lang/tcl85/files/patch-configure

16 lines
517 B
Text
Raw Normal View History

--- configure.orig 2015-03-06 15:13:58 UTC
+++ configure
@@ -7647,7 +7647,11 @@ fi
2007-12-29 22:38:48 +01:00
;;
FreeBSD-*)
- # This configuration from FreeBSD Ports.
+ # Version numbers are dot-stripped by system policy.
+ TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .`
+ UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+ SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
+ TCL_LIB_VERSIONS_OK=nodots
SHLIB_CFLAGS="-fPIC"
SHLIB_LD="${CC} -shared"
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,-soname,\$@"