diff options
author | Steve Price <steve@FreeBSD.org> | 1998-09-28 02:17:33 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-09-28 02:17:33 +0000 |
commit | c1e62c442c320ff68dcc77298b2a82d5f9c6892c (patch) | |
tree | 0b6c46fa360e6a27c985023f6dcc5c2013994c9e /games/xbomb | |
parent | Move manpages from pkg/PLIST to MAN* macro in Makefile and remove (diff) |
Fix build for ELF.
Notes
Notes:
svn path=/head/; revision=13497
Diffstat (limited to 'games/xbomb')
-rw-r--r-- | games/xbomb/files/patch-aa | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/games/xbomb/files/patch-aa b/games/xbomb/files/patch-aa index 805b862dd68d..294e7f219999 100644 --- a/games/xbomb/files/patch-aa +++ b/games/xbomb/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Sat Jan 20 22:02:46 1996 -+++ Makefile Fri Feb 20 10:27:38 1998 -@@ -12,33 +12,27 @@ +--- Makefile.orig Sat Jan 20 15:02:46 1996 ++++ Makefile Sun Sep 27 03:06:34 1998 +@@ -12,33 +12,30 @@ # for conditions under which this file may be redistributed. # @@ -17,6 +17,9 @@ - -COMPILE=$(CC) -c $(CFLAGS) +XLIB=-L${X11BASE}/lib -lXaw -lXmu -lXt -lX11 -lcompat ++.if ${PORTOBJFORMAT} == "elf" ++XLIB+= -Wl,-rpath,${X11BASE}/lib ++.endif LINK=$(CC) @@ -39,7 +42,7 @@ xbomb.o : xbomb.c xbomb.h xwindow.o : xwindow.c xbomb.h icon.h hiscore.o : hiscore.c xbomb.h -@@ -54,7 +48,7 @@ +@@ -54,7 +51,7 @@ strip xbomb install -d $(INSTDIR)/bin install -d $(INSTDIR)/man/man6 |