pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/bzflag bl3ify, use subst.mk instead of using sed...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83ce4927639c
branches:  trunk
changeset: 469747:83ce4927639c
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat Feb 28 06:08:16 2004 +0000

description:
bl3ify, use subst.mk instead of using sed/mv, set USE_LANGUAGES= c c++.

diffstat:

 games/bzflag/Makefile |  26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diffs (49 lines):

diff -r c8728d4b73ea -r 83ce4927639c games/bzflag/Makefile
--- a/games/bzflag/Makefile     Sat Feb 28 06:04:13 2004 +0000
+++ b/games/bzflag/Makefile     Sat Feb 28 06:08:16 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/01/25 15:27:42 kristerw Exp $
+# $NetBSD: Makefile,v 1.11 2004/02/28 06:08:16 xtraeme Exp $
 
 DISTNAME=      bzflag-1.10.20031209
 PKGNAME=       ${DISTNAME:S/20031209/0/}
@@ -13,27 +13,27 @@
 GNU_CONFIGURE= yes
 USE_NCURSES=   # resize_term()
 USE_X11=       yes
-USE_BUILDLINK2=        yes
+USE_BUILDLINK3=        yes
 USE_GNU_TOOLS+=        make
 USE_PERL5=     build
+USE_LANGUAGES= c c++
 
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} !=  "Linux"
-post-extract:
-       ${SED} -e 's|@LINUX_TRUE@||g ; s|@LINUX_FALSE@|#|g' \
-               ${WRKSRC}/src/platform/Makefile.in > \
-               ${WRKSRC}/src/platform/Makefile.sed
-       ${MV} ${WRKSRC}/src/platform/Makefile.sed \
-               ${WRKSRC}/src/platform/Makefile.in
+SUBST_CLASSES+=            fixme
+SUBST_STAGE.fixme=  post-patch
+SUBST_FILES.fixme=  src/platform/Makefile.in
+SUBST_SED.fixme=    -e "s|@LINUX_TRUE@||g"
+SUBST_SED.fixme+=   -e "s|@LINUX_FALSE@|\#|g"
 .endif
 
 CONFIGURE_ARGS+=       --with-ncurses
 
-.include "../../devel/ncurses/buildlink2.mk"
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../graphics/Mesa/buildlink2.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/Mesa/buildlink3.mk"
 
-.include "../../mk/ossaudio.buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index