diff options
author | cjep <cjep> | 2002-04-20 12:54:08 +0000 |
---|---|---|
committer | cjep <cjep> | 2002-04-20 12:54:08 +0000 |
commit | 212dad06e81710ac4950db2e70583cb235aceb57 (patch) | |
tree | b8497c18e23acb1a537cde87e1a85166f9e92d32 | |
parent | 84dae56e1739a6f1024090a317285f566dbcb177 (diff) | |
download | pkgsrc-212dad06e81710ac4950db2e70583cb235aceb57.tar.gz |
On arm32, use gcc-2.95.3. Pass CC to make in the environment.
-rw-r--r-- | games/angband-tty/Makefile | 7 | ||||
-rw-r--r-- | games/angband-tty/distinfo | 4 | ||||
-rw-r--r-- | games/angband-tty/patches/patch-ac | 21 |
3 files changed, 25 insertions, 7 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 diff --git a/games/angband-tty/distinfo b/games/angband-tty/distinfo index 2016bbd11c7..5b6c7c016aa 100644 --- a/games/angband-tty/distinfo +++ b/games/angband-tty/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 02:08:17 wiz Exp $ +$NetBSD: distinfo,v 1.3 2002/04/20 12:54:08 cjep Exp $ SHA1 (angband-283.tar.gz) = 1dc4a2786c31c2336daf57f76f4fa762f7d84cf3 Size (angband-283.tar.gz) = 822762 bytes @@ -6,5 +6,5 @@ SHA1 (angband-spoilers.tar.gz) = 6f5db28f686be3f41df6c22990c53f9e46a1c7cd Size (angband-spoilers.tar.gz) = 234909 bytes SHA1 (patch-aa) = f24d8a1f03c98ae09ecb75d5225f77eac138cdaf SHA1 (patch-ab) = fd39a2a851add826bf072b6f5097e1d9d7e010a7 -SHA1 (patch-ac) = 2ed519e243da2e4e6ee1494b32c4b68ebeec7b34 +SHA1 (patch-ac) = fa8e3148ad7c7bd1e00cc7348340c6e012d6631d SHA1 (patch-ad) = 8aac7e60e59d77577dffe6c6fd13cd13aac62cea diff --git a/games/angband-tty/patches/patch-ac b/games/angband-tty/patches/patch-ac index 300a73df30b..d00fe6e6bda 100644 --- a/games/angband-tty/patches/patch-ac +++ b/games/angband-tty/patches/patch-ac @@ -1,10 +1,23 @@ -$NetBSD: patch-ac,v 1.1 1998/08/27 13:18:21 garbled Exp $ ---- Makefile.std.orig Wed Feb 11 04:30:28 1998 -+++ Makefile.std Sun Aug 9 01:46:05 1998 -@@ -117,4 +117,4 @@ +$NetBSD: patch-ac,v 1.2 2002/04/20 12:54:09 cjep Exp $ +--- Makefile.std.orig Wed Feb 11 11:30:28 1998 ++++ Makefile.std Sat Apr 20 13:41:52 2002 +@@ -94,7 +94,7 @@ + # + # This is my compiler of choice, it seems to work most everywhere + # +-CC = gcc ++#CC = gcc + + + # +@@ -115,8 +115,8 @@ + # including "USE_GETCH" and "USE_CURS_SET". Note that "config.h" will + # attempt to "guess" at many of these flags based on your system. # -CFLAGS = -Wall -O1 -pipe -g -D"USE_X11" -D"USE_GCU" -LIBS = -lX11 -lcurses -ltermcap +CFLAGS = -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"$(PREFIX)/share/angband/\" +LIBS = -lcurses -ltermcap + + ## |