aboutsummaryrefslogtreecommitdiff
path: root/games/3dc
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
committerSteve Price <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
commit1511a5bd89a618481933a7edbc470f1599d329d1 (patch)
treeba256ad2028dd830485a76e99393d5b64d7d4c7b /games/3dc
parentd6cc7c671a153126df241c2b805fc8e4cec7ae96 (diff)
downloadports-1511a5bd89a618481933a7edbc470f1599d329d1.tar.gz
ports-1511a5bd89a618481933a7edbc470f1599d329d1.zip
Notes
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