openbsd-ports/lang/expect/patches/patch-configure
2000-09-06 01:06:26 +00:00

12 lines
573 B
Plaintext

--- configure.orig Thu Jul 13 10:49:34 2000
+++ configure Tue Sep 5 20:39:53 2000
@@ -6369,7 +6369,7 @@
echo "configure:6370: checking for type of library to build" >&5
if test "$enable_shared" = "yes" && test "x${TCL_SHLIB_SUFFIX}" != "x" ; then
EXP_SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
- eval "EXP_SHARED_LIB_FILE=libexpect${TCL_SHARED_LIB_SUFFIX}"
+ eval "EXP_SHARED_LIB_FILE=libexpect`echo ${VERSION} | tr -d .`.so.1.2"
EXP_LIB_FILE=$EXP_SHARED_LIB_FILE
EXP_LIB_FILES="$EXP_SHARED_LIB_FILE $EXP_UNSHARED_LIB_FILE"
echo "$ac_t""both shared and unshared" 1>&6