summaryrefslogtreecommitdiff
path: root/devel/cpuflags/files/cpuflags.mk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2006-09-15 14:37:32 +0000
committerabs <abs@pkgsrc.org>2006-09-15 14:37:32 +0000
commit447db2ffdf144ceda133383f042d4b5538f56cbd (patch)
treefb609c1a3dbec81e1185006fb857369f25588c87 /devel/cpuflags/files/cpuflags.mk
parent1874782916b73a2e64d7393739a6737128969bb3 (diff)
downloadpkgsrc-447db2ffdf144ceda133383f042d4b5538f56cbd.tar.gz
Update devel/cpuflags to 1.02
- Linux uses both 'AMD Athlon(TM) XP' and 'AMD Athlon(tm) XP' - Add at least Opteron recognition to solaris via 'psrinfo -pv' - Cleanup trailing whitespace
Diffstat (limited to 'devel/cpuflags/files/cpuflags.mk')
-rw-r--r--devel/cpuflags/files/cpuflags.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/cpuflags/files/cpuflags.mk b/devel/cpuflags/files/cpuflags.mk
index 9f12706cce7..15076fa4076 100644
--- a/devel/cpuflags/files/cpuflags.mk
+++ b/devel/cpuflags/files/cpuflags.mk
@@ -1,4 +1,4 @@
-# $Id: cpuflags.mk,v 1.16 2005/05/01 22:03:37 abs Exp $
+# $Id: cpuflags.mk,v 1.17 2006/09/15 14:37:32 abs Exp $
# Makefile include fragment to simplify use of cpuflags in pkgsrc
# abs@absd.org - freely distributable, no warrenties, stick no bills.
@@ -12,7 +12,7 @@
#
# CPU_DIR CPU_FLAGS with spaces stripped (eg: for use in PACKAGES)
-.ifndef CPU_FLAGS
+.ifndef CPU_FLAGS
. if defined(BSD_PKG_MK) || ${USETOOLS:Uyes} == "no"
CPU_FLAGS!=@PREFIX@/bin/cpuflags ${CC}
. else
@@ -25,7 +25,7 @@ CPU_DIR!=echo ${CPU_FLAGS} | sed 's/ //'
.endif
.if !defined(MAKEFLAGS) || empty(MAKEFLAGS:MCPU_FLAGS)
-MAKEFLAGS+=CPU_FLAGS=${CPU_FLAGS:Q} CPU_DIR=${CPU_DIR:Q} # For sub makes
+MAKEFLAGS+=CPU_FLAGS=${CPU_FLAGS:Q} CPU_DIR=${CPU_DIR:Q} # For sub makes
.endif
.ifdef BSD_PKG_MK # Try to catch various package opts