summaryrefslogtreecommitdiffstats
path: root/games/3dc/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
committersteve <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
commit25fad71fb24d09f1ac870e27cd325d5719a4e7b4 (patch)
treeef7975843fd9607a64b4f8885f121e7e91c26d0d /games/3dc/files
parent5b346b769562e828ce1abe6d9136531776357180 (diff)
downloadFreeBSD-ports-25fad71fb24d09f1ac870e27cd325d5719a4e7b4.zip
FreeBSD-ports-25fad71fb24d09f1ac870e27cd325d5719a4e7b4.tar.gz
Fix build for ELF.
Diffstat (limited to 'games/3dc/files')
-rw-r--r--games/3dc/files/patch-aa9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/3dc/files/patch-aa b/games/3dc/files/patch-aa
index 518b8f2..daef108 100644
--- a/games/3dc/files/patch-aa
+++ b/games/3dc/files/patch-aa
@@ -1,5 +1,5 @@
---- src/Makefile.orig Thu Apr 11 10:23:53 1996
-+++ src/Makefile Sun May 3 19:20:18 1998
+--- src/Makefile.orig Thu Apr 11 09:23:53 1996
++++ src/Makefile Sat Sep 26 23:22:52 1998
@@ -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,19 @@
+@@ -27,19 +27,22 @@
# can send me opinions at mailto:paulh@euristix.ie
PREFS=-DUNDO_ANY_MOVE
@@ -30,6 +30,9 @@
# 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
# Sun
#LDLIBS=-lXpm -lXaw -lXmu -lXext -lXt -lX11 -lm
OpenPOWER on IntegriCloud