aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/expect
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-10-07 04:44:35 +0800
committerasami <asami@FreeBSD.org>1998-10-07 04:44:35 +0800
commit0d8c500988a1a63147b65003a64c533ca4607da6 (patch)
treeb46c8d4917ef5e72d9a8efdedf5cf64705f0283e /japanese/expect
parent25a0fb6710b640d48bb78a892e44df2fdebd5cbc (diff)
downloadfreebsd-ports-gnome-0d8c500988a1a63147b65003a64c533ca4607da6.tar.gz
freebsd-ports-gnome-0d8c500988a1a63147b65003a64c533ca4607da6.tar.zst
freebsd-ports-gnome-0d8c500988a1a63147b65003a64c533ca4607da6.zip
Fix build for a.out.
Diffstat (limited to 'japanese/expect')
-rw-r--r--japanese/expect/files/patch-aa7
1 files changed, 5 insertions, 2 deletions
diff --git a/japanese/expect/files/patch-aa b/japanese/expect/files/patch-aa
index 74594f2f8d98..dffab0d1aa72 100644
--- a/japanese/expect/files/patch-aa
+++ b/japanese/expect/files/patch-aa
@@ -149,12 +149,15 @@
# Build Expectk with TestCenter
expectk.tc: exp_main_tk.o $(OFILES)
-@@ -392,24 +398,20 @@
+@@ -392,24 +398,24 @@
# rule out for each file, sigh).
$(EXP_SHARED_LIB_FILE): $(OFILES)
-rm -f $(EXP_SHARED_LIB_FILE)
-- @TCL_SHLIB_LD@ -o $(EXP_SHARED_LIB_FILE) $(SHARED_OFILES) @EXP_LD_SEARCH_FLAGS@ @EXP_SHLIB_LD_LIBS@
++.if ${PORTOBJFORMAT} == "aout"
+ @TCL_SHLIB_LD@ -o $(EXP_SHARED_LIB_FILE) $(SHARED_OFILES) @EXP_LD_SEARCH_FLAGS@ @EXP_SHLIB_LD_LIBS@
++.else
+ @TCL_SHLIB_LD@ -o $(EXP_SHARED_LIB_FILE) -Wl,-soname,$(EXP_SHARED_LIB_FILE) $(SHARED_OFILES) @EXP_LD_SEARCH_FLAGS@ @EXP_SHLIB_LD_LIBS@
++.endif
+ ln -sf $(EXP_SHARED_LIB_FILE) `echo $(EXP_SHARED_LIB_FILE) | sed 's/\.so.*$$/.so/'`
.PHONY: install-info install info