summaryrefslogtreecommitdiff
path: root/devel
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
commitca05ea8bb1d338c7643d2ddd97ec4101c5e818c7 (patch)
treebd433f1ad310a775d56e9a0df47cfafc7487bcfe /devel
parent234b9107b6c6428c1bd734de6f70a3faced1e3d1 (diff)
downloadpkgsrc-ca05ea8bb1d338c7643d2ddd97ec4101c5e818c7.tar.gz
Update cpuflags to 0.61
Be more careful setting MAKEFLAGS
Diffstat (limited to 'devel')
-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