pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/mk-configure fix: evoid using temporary awk in m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e205ff740531
branches:  trunk
changeset: 409879:e205ff740531
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Wed Jan 22 10:53:58 2020 +0000

description:
fix: evoid using temporary awk in mk-configure script; ++pkgrevision

diffstat:

 devel/mk-configure/Makefile |  14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diffs (38 lines):

diff -r c8155e179142 -r e205ff740531 devel/mk-configure/Makefile
--- a/devel/mk-configure/Makefile       Wed Jan 22 10:38:40 2020 +0000
+++ b/devel/mk-configure/Makefile       Wed Jan 22 10:53:58 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.30 2020/01/18 21:23:16 cheusov Exp $
+# $NetBSD: Makefile,v 1.31 2020/01/22 10:53:58 cheusov Exp $
 #
 
 DISTNAME=      mk-configure-0.33.0
+PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mk-configure/}
 
@@ -21,8 +22,8 @@
 
 MAKE_ENV+=             MANDIR=${PREFIX}/${PKGMANDIR} \
                        SYSCONFDIR=${PKG_SYSCONFDIR} \
-                       BMAKE=${PREFIX}/bin/bmake
-MAKE_FLAGS=            PROG.awk=${AWK:Q}
+                       BMAKE=${PREFIX}/bin/bmake \
+                       MKC_AWK=${AWK:Q}
 
 AUTO_MKDIRS=           yes
 
@@ -38,13 +39,6 @@
 
 CHECK_PERMS_SKIP=      */foobar.in */hello_world3.in */prog1.awk.in
 
-.if ${OPSYS} == SunOS && exists(/usr/xpg4/bin/awk)
-REPLACE_INTERPRETER+=  awk
-REPLACE.awk.old=       /usr/bin/awk
-REPLACE.awk.new=       /usr/xpg4/bin/awk
-REPLACE_FILES.awk=     mkc_check_version
-.endif
-
 .if ${OPSYS} != NetBSD && ${OPSYS} != FreeBSD && ${OPSYS} != OpenBSD && ${OPSYS} != DragonFly && ${OPSYS} != MirBSD
 DEPENDS+=      bmkdep-[0-9]*:../../devel/bmkdep
 .endif



Home | Main Index | Thread Index | Old Index