diff options
author | steve <steve@FreeBSD.org> | 1998-09-28 10:17:33 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-09-28 10:17:33 +0800 |
commit | 1916e744cc40e83c6af8b752af6e44df101db185 (patch) | |
tree | 0ad2dbe0ebb710bc48c91024cb7040467086901f /games/xbomb | |
parent | 58e376caa3e219cbfe3c918dc90f09d51e73efff (diff) | |
download | freebsd-ports-gnome-1916e744cc40e83c6af8b752af6e44df101db185.tar.gz freebsd-ports-gnome-1916e744cc40e83c6af8b752af6e44df101db185.tar.zst freebsd-ports-gnome-1916e744cc40e83c6af8b752af6e44df101db185.zip |
Fix build for ELF.
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 |