aboutsummaryrefslogtreecommitdiffstats
path: root/lang/expect
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1998-10-01 15:06:00 +0800
committermarkm <markm@FreeBSD.org>1998-10-01 15:06:00 +0800
commit6afd6ee88a06a4413fef5ad4beab1e77e0b42c37 (patch)
treedc6657ad8cc207dbf6a3f4c2b52a4f67b0ab2416 /lang/expect
parent66a4a88594be0a00fb32b12df32b0db51ee4f542 (diff)
downloadfreebsd-ports-gnome-6afd6ee88a06a4413fef5ad4beab1e77e0b42c37.tar.gz
freebsd-ports-gnome-6afd6ee88a06a4413fef5ad4beab1e77e0b42c37.tar.zst
freebsd-ports-gnome-6afd6ee88a06a4413fef5ad4beab1e77e0b42c37.zip
Blat minor number on shared object for ELF.
Diffstat (limited to 'lang/expect')
-rw-r--r--lang/expect/files/patch-aa14
1 files changed, 9 insertions, 5 deletions
diff --git a/lang/expect/files/patch-aa b/lang/expect/files/patch-aa
index cc98fc45418f..0f67973ca20c 100644
--- a/lang/expect/files/patch-aa
+++ b/lang/expect/files/patch-aa
@@ -1,5 +1,5 @@
---- configure.orig Mon May 18 15:22:13 1998
-+++ configure Sun May 24 14:03:56 1998
+--- configure.orig Tue May 19 00:22:13 1998
++++ configure Thu Oct 1 08:14:36 1998
@@ -1236,6 +1236,8 @@
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
@@ -9,16 +9,20 @@
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-@@ -5902,7 +5904,7 @@
+@@ -5902,7 +5904,11 @@
if test "$enable_shared" = "yes" && test "x${TCL_SHLIB_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}"
-+ eval "EXP_SHARED_LIB_FILE=libexpect`echo ${VERSION} | tr -d .`.so.1.2"
++ if test X`objformat` = Xelf ; then
++ eval "EXP_SHARED_LIB_FILE=libexpect`echo ${VERSION} | tr -d .`.so.1"
++ else
++ eval "EXP_SHARED_LIB_FILE=libexpect`echo ${VERSION} | tr -d .`.so.1.2"
++ fi
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
-@@ -6099,17 +6101,18 @@
+@@ -6099,17 +6105,18 @@
s%@TCL_SHLIB_LD@%$TCL_SHLIB_LD%g
s%@SHLIB_SUFFIX@%$SHLIB_SUFFIX%g
s%@TCL_LD_FLAGS@%$TCL_LD_FLAGS%g