pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cpuflags Update cpuflags to 0.61



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ed2d5450feb
branches:  trunk
changeset: 466593:1ed2d5450feb
user:      abs <abs%pkgsrc.org@localhost>
date:      Wed Jan 21 00:54:08 2004 +0000

description:
Update cpuflags to 0.61
        Be more careful setting MAKEFLAGS

diffstat:

 devel/cpuflags/Makefile          |  4 ++--
 devel/cpuflags/files/cpuflags.mk |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r e36af96361b6 -r 1ed2d5450feb devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile   Tue Jan 20 23:55:55 2004 +0000
+++ b/devel/cpuflags/Makefile   Wed Jan 21 00:54:08 2004 +0000
@@ -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 -r e36af96361b6 -r 1ed2d5450feb devel/cpuflags/files/cpuflags.mk
--- a/devel/cpuflags/files/cpuflags.mk  Tue Jan 20 23:55:55 2004 +0000
+++ b/devel/cpuflags/files/cpuflags.mk  Wed Jan 21 00:54:08 2004 +0000
@@ -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@localhost - freely distributable, no warrenties, stick no bills.
 
@@ -24,8 +24,8 @@
 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



Home | Main Index | Thread Index | Old Index