diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-10-06 20:44:35 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-10-06 20:44:35 +0000 |
commit | db5041299a8a22f2b84222c46c8e7e2f72d290eb (patch) | |
tree | 5f208246b6f27accb3c84cff8a93ed2d1f01ecf1 | |
parent | 0586154782c1b73767438bbdf7b1216a33fdccdb (diff) | |
download | freebsd-ports-db5041299a8a22f2b84222c46c8e7e2f72d290eb.zip |
Fix build for a.out.
-rw-r--r-- | japanese/expect/files/patch-aa | 7 |
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 |