summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-07-29 01:35:57 +0000
committerrillig <rillig@pkgsrc.org>2007-07-29 01:35:57 +0000
commit2f7d38bd98991bddccbb228c040781795cfa52b3 (patch)
tree2babe4e1c76ca63ba15c096f81b741b581f9661d /games
parent474bbf93e4e38b6bd07b3aea68fd83f86b58a047 (diff)
downloadpkgsrc-2f7d38bd98991bddccbb228c040781795cfa52b3.tar.gz
Fixed outdated inclusion of <malloc.h>.
Diffstat (limited to 'games')
-rw-r--r--games/velena/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/velena/Makefile b/games/velena/Makefile
index 1054ecd13a8..f3c65ca8b7b 100644
--- a/games/velena/Makefile
+++ b/games/velena/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/07/25 22:55:35 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2007/07/29 01:35:57 rillig Exp $
#
DISTNAME= veleng10
@@ -27,6 +27,11 @@ SUBST_STAGE.path= pre-configure
SUBST_FILES.path= connect4.h
SUBST_SED.path= -e 's,"white_ob.cn4","${PREFIX}/share/velena/white_ob.cn4",'
+SUBST_CLASSES+= ansi-c
+SUBST_STAGE.ansi-c= pre-configure
+SUBST_FILES.ansi-c= *.c *.h
+SUBST_SED.ansi-c= -e 's,<malloc\.h>,<stdlib.h>,'
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/veleng ${DESTDIR}${PREFIX}/bin/velena
${INSTALL_DATA} ${WRKSRC}/readme ${DESTDIR}${PREFIX}/share/doc/velena/README