summaryrefslogtreecommitdiff
path: root/games/angband-x11/Makefile
diff options
context:
space:
mode:
authorcjep <cjep>2002-04-20 13:08:41 +0000
committercjep <cjep>2002-04-20 13:08:41 +0000
commit65dfebc6664bdd5ec7731c533d7ce76800c489ef (patch)
treeafd23151a70aae24dd289b2938800daa0abd6b52 /games/angband-x11/Makefile
parentdd194cb0666d6fc2d7263438e5bba94fac1fc5d9 (diff)
downloadpkgsrc-65dfebc6664bdd5ec7731c533d7ce76800c489ef.tar.gz
On arm32 use gcc-2.95.3 to avoid internal compiler error.
Pass CC to make in the environment.
Diffstat (limited to 'games/angband-x11/Makefile')
-rw-r--r--games/angband-x11/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/angband-x11/Makefile b/games/angband-x11/Makefile
index 30524aeecf2..d06355a88c9 100644
--- a/games/angband-x11/Makefile
+++ b/games/angband-x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/03/18 15:30:15 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2002/04/20 13:08:41 cjep Exp $
#
DISTNAME= angband-283
@@ -17,11 +17,16 @@ CONFLICTS= angband-tty-[0-9]*
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKEFILE= Makefile.std
+MAKE_ENV+= CC=${CC}
ALL_TARGET= angband
USE_X11= yes
SPOILERFILE= angband-spoilers.tar.gz
+.if (${MACHINE_ARCH} == arm32)
+. include "../../lang/gcc/Makefile.gcc"
+.endif
+
do-install:
${INSTALL} -d -o bin -g games -m 0775 ${PREFIX}/share/angband
${CP} -R ${WRKDIR}/${DISTNAME}/lib/* ${PREFIX}/share/angband