pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/velena Fixed outdated inclusion of <malloc.h>.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e67d9d3afb8b
branches:  trunk
changeset: 531364:e67d9d3afb8b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jul 29 01:35:57 2007 +0000

description:
Fixed outdated inclusion of <malloc.h>.

diffstat:

 games/velena/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 84c2c5755485 -r e67d9d3afb8b games/velena/Makefile
--- a/games/velena/Makefile     Sun Jul 29 01:32:47 2007 +0000
+++ b/games/velena/Makefile     Sun Jul 29 01:35:57 2007 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index