summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2004-01-21 00:54:08 +0000
committerabs <abs@pkgsrc.org>2004-01-21 00:54:08 +0000
commitcfba7de9ee95032f636ffbd66fa15731dea098c9 (patch)
treebd433f1ad310a775d56e9a0df47cfafc7487bcfe /devel/cpuflags
parent79ffb13dbbd96fbe3e3ef9950e92d5366877e1a9 (diff)
downloadpkgsrc-cfba7de9ee95032f636ffbd66fa15731dea098c9.tar.gz
Update cpuflags to 0.61
Be more careful setting MAKEFLAGS
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile4
-rw-r--r--devel/cpuflags/files/cpuflags.mk6
2 files changed, 5 insertions, 5 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 49c6e3f863b..35748f6074b 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.63 2004/01/20 23:38:46 abs Exp $
+# $NetBSD: Makefile,v 1.64 2004/01/21 00:54:08 abs Exp $
#
-DISTNAME= cpuflags-0.60
+DISTNAME= cpuflags-0.61
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/cpuflags/files/cpuflags.mk b/devel/cpuflags/files/cpuflags.mk
index 315d9983d61..5e155a785bc 100644
--- a/devel/cpuflags/files/cpuflags.mk
+++ b/devel/cpuflags/files/cpuflags.mk
@@ -1,4 +1,4 @@
-# $Id: cpuflags.mk,v 1.12 2004/01/20 23:38:46 abs Exp $
+# $Id: cpuflags.mk,v 1.13 2004/01/21 00:54:08 abs Exp $
# Makefile include fragment to simplify use of cpuflags in pkgsrc
# abs@netbsd.org - freely distributable, no warrenties, stick no bills.
@@ -24,8 +24,8 @@ CPU_FLAGS!=/usr/pkg/bin/cpuflags
CPU_DIR!=echo ${CPU_FLAGS} | sed 's/ //'
.endif
-.if empty(MAKEFLAGS:MCPU_FLAGS=)
-MAKEFLAGS+=CPU_FLAGS=${CPU_FLAGS} CPU_DIR="${CPU_DIR}" # For sub makes
+.if !defined(MAKEFLAGS) || empty(MAKEFLAGS:MCPU_FLAGS)
+MAKEFLAGS+=CPU_FLAGS="${CPU_FLAGS}" CPU_DIR="${CPU_DIR}" # For sub makes
.endif
.ifdef BSD_PKG_MK # Try to catch various package opts