summaryrefslogtreecommitdiff
path: root/games/angband-tty/Makefile
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-04-20 12:54:08 +0000
committercjep <cjep@pkgsrc.org>2002-04-20 12:54:08 +0000
commita346e8e55c56a816c487514440a5e1150633c312 (patch)
treeb8497c18e23acb1a537cde87e1a85166f9e92d32 /games/angband-tty/Makefile
parent0de03b66c715e8a8a0cafebcd6ed504964faa7d4 (diff)
downloadpkgsrc-a346e8e55c56a816c487514440a5e1150633c312.tar.gz
On arm32, use gcc-2.95.3. Pass CC to make in the environment.
Diffstat (limited to 'games/angband-tty/Makefile')
-rw-r--r--games/angband-tty/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/angband-tty/Makefile b/games/angband-tty/Makefile
index 7459ab6bdd3..3667636c949 100644
--- a/games/angband-tty/Makefile
+++ b/games/angband-tty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2001/09/27 23:18:04 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2002/04/20 12:54:08 cjep Exp $
#
DISTNAME= angband-283
@@ -17,10 +17,15 @@ CONFLICTS= angband-x11-[0-9]*
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKEFILE= Makefile.std
+MAKE_ENV+= CC=${CC}
ALL_TARGET= angband
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