aboutsummaryrefslogtreecommitdiffstats
path: root/games/3dc
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-28 10:04:40 +0800
committersteve <steve@FreeBSD.org>1998-09-28 10:04:40 +0800
commit25fad71fb24d09f1ac870e27cd325d5719a4e7b4 (patch)
treeef7975843fd9607a64b4f8885f121e7e91c26d0d /games/3dc
parent5b346b769562e828ce1abe6d9136531776357180 (diff)
downloadfreebsd-ports-gnome-25fad71fb24d09f1ac870e27cd325d5719a4e7b4.tar.gz
freebsd-ports-gnome-25fad71fb24d09f1ac870e27cd325d5719a4e7b4.tar.zst
freebsd-ports-gnome-25fad71fb24d09f1ac870e27cd325d5719a4e7b4.zip
Fix build for ELF.
Diffstat (limited to 'games/3dc')
-rw-r--r--games/3dc/Makefile11
-rw-r--r--games/3dc/files/patch-aa9
2 files changed, 10 insertions, 10 deletions
diff --git a/games/3dc/Makefile b/games/3dc/Makefile
index 0fa93413193d..6e7b51f15365 100644
--- a/games/3dc/Makefile
+++ b/games/3dc/Makefile
@@ -3,7 +3,7 @@
# Date created: 2 May 1998
# Whom: Andrey Zakhvatov
#
-# $Id: Makefile,v 1.6 1998/09/17 00:32:32 asami Exp $
+# $Id: Makefile,v 1.7 1998/09/21 01:35:30 steve Exp $
#
DISTNAME= 3Dc-0.8.1
@@ -18,17 +18,14 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d
USE_X_PREFIX= yes
-WRKSRC= ${WRKDIR}/3Dc
-
-do-build:
- @ cd ${WRKSRC}/src; make
+WRKSRC= ${WRKDIR}/3Dc/src
do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/src/3Dc ${PREFIX}/bin
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/3Dc
.for file in 3Dc-rules.html ACKNOWLEDGEMENTS GPL README TODO
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/3Dc
+ @ ${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/3Dc
.endfor
.endif
diff --git a/games/3dc/files/patch-aa b/games/3dc/files/patch-aa
index 518b8f27b67a..daef108ec90f 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