1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/lang/expect/files/patch-aa
Satoshi Asami 085a400cb1 Upgrade to 5.22.0. Closes PR ports/2935.
Submitted by:	Taguchi Takeshi <taguchi@tohoku.iij.ad.jp>
1997-03-11 11:42:22 +00:00

41 lines
1.5 KiB
Plaintext

--- configure.orig Tue Feb 4 09:08:16 1997
+++ configure Tue Mar 4 12:03:22 1997
@@ -1161,6 +1161,8 @@
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
@@ -5728,15 +5730,17 @@
EXP_LIB_VERSION=$EXP_VERSION_NODOTS
fi
+VERSION=${EXP_LIB_VERSION}
+
EXP_BUILD_LIB_SPEC="-L`pwd` -lexpect${EXP_LIB_VERSION}"
EXP_LIB_SPEC="-L\${exec_prefix}/lib -lexpect${EXP_LIB_VERSION}"
-EXP_NONSHARED_LIB_FILE=libexpect${EXP_LIB_VERSION}.a
+eval EXP_NONSHARED_LIB_FILE=libexpect${TCL_UNSHARED_LIB_SUFFIX}
echo $ac_n "checking for type of library to build""... $ac_c" 1>&6
echo "configure:5737: checking for type of library to build" >&5
-if test "$enable_shared" = "yes" && test "x${TCL_SHLIB_SUFFIX}" != "x" ; then
+if test "$enable_shared" = "yes" -a "x${TCL_SHARED_LIB_SUFFIX}" != "x" ; then
EXP_SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS
- EXP_SHARED_LIB_FILE=libexpect$EXP_LIB_VERSION$TCL_SHLIB_SUFFIX
+ eval EXP_SHARED_LIB_FILE=libexpect${TCL_SHARED_LIB_SUFFIX}
EXP_LIB_FILE=$EXP_SHARED_LIB_FILE
EXP_LIB_FILES="$EXP_SHARED_LIB_FILE $EXP_NONSHARED_LIB_FILE"
echo "$ac_t""both shared and nonshared" 1>&6
@@ -5908,6 +5912,7 @@
s%@TK_LIB_SPEC@%$TK_LIB_SPEC%g
s%@CC@%$CC%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
+s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@subdirs@%$subdirs%g
s%@CPP@%$CPP%g