pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/buildtool Use GNU m4 under NetBSD 1.5.x to fix s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4edae61c199a
branches:  trunk
changeset: 461396:4edae61c199a
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Mon Sep 15 14:49:44 2003 +0000

description:
Use GNU m4 under NetBSD 1.5.x to fix some problems *sigh*.

diffstat:

 devel/buildtool/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e935e3d2d615 -r 4edae61c199a devel/buildtool/Makefile
--- a/devel/buildtool/Makefile  Mon Sep 15 14:00:08 2003 +0000
+++ b/devel/buildtool/Makefile  Mon Sep 15 14:49:44 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/09/05 18:50:32 jmmv Exp $
+# $NetBSD: Makefile,v 1.14 2003/09/15 14:49:44 jmmv Exp $
 #
 
 DISTNAME=      buildtool-0.14
@@ -16,9 +16,15 @@
 
 CONFIGURE_ARGS=                -p ${LOCALBASE}
 CONFIGURE_ARGS+=       -c ${PKG_SYSCONFDIR}
-CONFIGURE_ENV+=                M4="${M4}"
 CONFIGURE_ENV+=                SH="${SH}"
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-1.5*)
+DEPENDS+=              m4>=1.4nb1:../../devel/m4
+M4=                    "${GNU_PROGRAM_PREFIX}m4"
+.endif
+
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/buildtool-0/pkgflags
 



Home | Main Index | Thread Index | Old Index