From c1e62c442c320ff68dcc77298b2a82d5f9c6892c Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 28 Sep 1998 02:17:33 +0000 Subject: Fix build for ELF. --- games/xbomb/files/patch-aa | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'games/xbomb') 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 -- cgit v1.2.3