diff options
author | pav <pav@FreeBSD.org> | 2007-01-30 18:25:34 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2007-01-30 18:25:34 +0800 |
commit | 68e4663f01d748743e0029f83931c02fba58eb4e (patch) | |
tree | d24dbe32e4bdb87d0f3ba1c46717e6e34576e724 /games | |
parent | c6c1440c2b66077bedba90612a4827a8051ec9c1 (diff) | |
download | freebsd-ports-gnome-68e4663f01d748743e0029f83931c02fba58eb4e.tar.gz freebsd-ports-gnome-68e4663f01d748743e0029f83931c02fba58eb4e.tar.zst freebsd-ports-gnome-68e4663f01d748743e0029f83931c02fba58eb4e.zip |
- Remove support for a.out format and PORTOBJFORMAT variable from individual
ports
With hat: portmgr
Diffstat (limited to 'games')
-rw-r--r-- | games/3dc/files/patch-aa | 11 | ||||
-rw-r--r-- | games/xbomb/files/patch-aa | 10 | ||||
-rw-r--r-- | games/xminehunter/files/patch-aa | 8 |
3 files changed, 11 insertions, 18 deletions
diff --git a/games/3dc/files/patch-aa b/games/3dc/files/patch-aa index 2dee6673ca6e..5ab8f9a01388 100644 --- a/games/3dc/files/patch-aa +++ b/games/3dc/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Thu Apr 11 09:23:53 1996 -+++ Makefile Sat Sep 26 23:22:52 1998 +--- Makefile.orig Thu Apr 11 16:23:53 1996 ++++ Makefile Fri Jan 26 23:23:12 2007 @@ -13,7 +13,7 @@ # If your system doesn't have a unique define already, define one here. @@ -9,7 +9,7 @@ # OSF/Digital Unix/HPUX #CONFIGS=-fPIC -DHAVE_UNISTD_H -DHAVE_ULIMIT_H # Sun -@@ -27,19 +27,22 @@ +@@ -27,19 +27,19 @@ # can send me opinions at mailto:paulh@euristix.ie PREFS=-DUNDO_ANY_MOVE @@ -29,10 +29,7 @@ # appear much but it looks much better when it does. # Linux -LDLIBS=-L/usr/X11R6/lib -lXpm -lXaw3d -lXmu -lXext -lXt -lX11 -+LDLIBS=-L${X11BASE}/lib -lXpm -lXaw3d -lXmu -lXext -lXt -lX11 -+.if ${PORTOBJFORMAT} == "elf" -+LDLIBS+=-Wl,-rpath,${X11BASE}/lib -+.endif ++LDLIBS=-L${X11BASE}/lib -lXpm -lXaw3d -lXmu -lXext -lXt -lX11 -Wl,-rpath,${X11BASE}/lib # Sun #LDLIBS=-lXpm -lXaw -lXmu -lXext -lXt -lX11 -lm diff --git a/games/xbomb/files/patch-aa b/games/xbomb/files/patch-aa index 8507b8b3798b..26c5356a4dab 100644 --- a/games/xbomb/files/patch-aa +++ b/games/xbomb/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Sun Jan 21 06:02:46 1996 -+++ Makefile Tue Jan 18 00:00:00 2000 -@@ -12,33 +12,30 @@ +--- Makefile.orig Sat Jan 20 16:02:46 1996 ++++ Makefile Thu Jan 25 22:20:42 2007 +@@ -12,33 +12,28 @@ # for conditions under which this file may be redistributed. # @@ -17,9 +17,7 @@ - -COMPILE=$(CC) -c $(CFLAGS) +XLIB=-L${X11BASE}/lib -lXaw -lXmu -lXt -lX11 -lcompat -+.if ${PORTOBJFORMAT} == "elf" +XLIB+= -Wl,-rpath,${X11BASE}/lib -+.endif LINK=$(CC) @@ -42,7 +40,7 @@ xbomb.o : xbomb.c xbomb.h xwindow.o : xwindow.c xbomb.h icon.h hiscore.o : hiscore.c xbomb.h -@@ -51,10 +48,10 @@ +@@ -51,10 +46,10 @@ ######## install : diff --git a/games/xminehunter/files/patch-aa b/games/xminehunter/files/patch-aa index 79d778a6375a..19500eb99265 100644 --- a/games/xminehunter/files/patch-aa +++ b/games/xminehunter/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Mon Jul 22 01:11:34 1996 -+++ Makefile Tue Oct 13 20:41:49 1998 -@@ -1,9 +1,11 @@ +--- Makefile.orig Mon Jul 22 02:11:34 1996 ++++ Makefile Thu Jan 25 22:22:22 2007 +@@ -1,9 +1,9 @@ -INSTALL_BIN_PATH = /usr/local/bin -INSTALL_SCORE_PATH = /usr/local/lib/xminehunter - @@ -11,9 +11,7 @@ +INCLUDES = -I${X11BASE}/include +LIBS = -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXpm -lXext -lX11 -+.if ${PORTOBJFORMAT} == "elf" +LIBS+= -Wl,-rpath,${X11BASE}/lib -+.endif CC = g++ |