summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-10 17:21:34 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-10 17:21:34 +0000
commit2c0639ef7479b9f3284e724e1bdab38d868db461 (patch)
tree0bec24f9ec6d79178d55e2187efbaa2f70556680
parentRemove a useless target. (diff)
Replace -soname with -Wl,-soname.
Alpha's cc doesn't have -soname option.
Notes
Notes: svn path=/head/; revision=15960
-rw-r--r--games/libshhcards/files/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/libshhcards/files/patch-aa b/games/libshhcards/files/patch-aa
index 33b2f8e6248c..bb5325972bba 100644
--- a/games/libshhcards/files/patch-aa
+++ b/games/libshhcards/files/patch-aa
@@ -1,7 +1,7 @@
--- Makefile.orig Sun Mar 23 03:02:53 1997
+++ Makefile Wed Sep 30 23:28:35 1998
@@ -1,14 +1,17 @@
- # $Id: Makefile,v 1.3 1997/03/23 09:02:53 sverrehu Exp $
+ # $Id: patch-aa,v 1.3 1998/10/01 06:09:01 steve Exp $
DIST = shhcards
VERMAJ = 1
-VERMIN = 0
@@ -39,7 +39,7 @@
ifeq ($(SHARED),1)
- $(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGET) $(LIBOBJS)
+ifeq ($(PORTOBJFORMAT),elf)
-+ $(CC) -shared -soname $(LIBTARGET) -o $(LIBTARGET) $(LIBOBJS)
++ $(CC) -shared -Wl,-soname,$(LIBTARGET) -o $(LIBTARGET) $(LIBOBJS)
+else
+ $(CC) -shared -o $(LIBTARGET) $(LIBOBJS)
+endif