pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/automake improve how we set M4 so that this work...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe5b0078fc18
branches:  trunk
changeset: 468420:fe5b0078fc18
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Fri Feb 13 22:55:40 2004 +0000

description:
improve how we set M4 so that this works with pkgviews and if the gnu
program prefix is not 'g'.

diffstat:

 devel/automake/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 652c23d6afba -r fe5b0078fc18 devel/automake/Makefile
--- a/devel/automake/Makefile   Fri Feb 13 22:36:40 2004 +0000
+++ b/devel/automake/Makefile   Fri Feb 13 22:55:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2004/02/10 02:22:50 jlam Exp $
+# $NetBSD: Makefile,v 1.49 2004/02/13 22:55:40 dmcmahill Exp $
 #
 
 DISTNAME=      automake-1.8.2
@@ -20,7 +20,8 @@
 GNU_CONFIGURE=         YES
 CONFIGURE_ENV=         PERL=${PERL5}
 _STRIPFLAG_INSTALL=    # none
-M4=                    ${PREFIX}/bin/gm4
+EVAL_PREFIX+=          M4DIR=m4
+M4=                    ${M4DIR}/bin/${GNU_PROGRAM_PREFIX}m4
 
 MAKEINFOFLAGS=         --no-split
 MAKE_ENV+=             MAKEINFOFLAGS="${MAKEINFOFLAGS}"



Home | Main Index | Thread Index | Old Index