pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc update cpuflags to 0.94 - do not set PKGBASE in op...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e41d17bd19f5
branches: trunk
changeset: 499821:e41d17bd19f5
user: abs <abs%pkgsrc.org@localhost>
date: Tue Sep 27 16:38:11 2005 +0000
description:
update cpuflags to 0.94 - do not set PKGBASE in optimize_gcc.mk
diffstat:
devel/cpuflags/Makefile | 4 ++--
devel/cpuflags/files/optimize_gcc.mk | 14 +++++++-------
doc/CHANGES | 3 ++-
3 files changed, 11 insertions(+), 10 deletions(-)
diffs (66 lines):
diff -r c9e6d4dbdf1d -r e41d17bd19f5 devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile Tue Sep 27 16:09:50 2005 +0000
+++ b/devel/cpuflags/Makefile Tue Sep 27 16:38:11 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.96 2005/09/23 13:24:17 abs Exp $
+# $NetBSD: Makefile,v 1.97 2005/09/27 16:38:11 abs Exp $
#
-DISTNAME= cpuflags-0.93
+DISTNAME= cpuflags-0.94
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff -r c9e6d4dbdf1d -r e41d17bd19f5 devel/cpuflags/files/optimize_gcc.mk
--- a/devel/cpuflags/files/optimize_gcc.mk Tue Sep 27 16:09:50 2005 +0000
+++ b/devel/cpuflags/files/optimize_gcc.mk Tue Sep 27 16:38:11 2005 +0000
@@ -1,4 +1,4 @@
-# $Id: optimize_gcc.mk,v 1.25 2005/09/23 13:24:17 abs Exp $
+# $Id: optimize_gcc.mk,v 1.26 2005/09/27 16:38:11 abs Exp $
# This file is 'experimental' - which is doublespeak for unspeakably
# ugly, and quite broken by design.
@@ -31,23 +31,23 @@
PKG_EXCLUDE_OMIT_FRAME_POINTER+=qt3-libs kdeedu3 koffice
.endif
-TMPPKGNAME=${PKGNAME}
-TMPPKGNAME?=${DISTNAME}
-PKGBASE?=${TMPPKGNAME:C/-[^-]*$//}
+TMPPKGNAME:=${PKGNAME:?${PKGNAME}:${DISTNAME}}
+TMPPKGBASE:=${PKGBASE:?${PKGBASE}:${TMPPKGNAME:C/-[^-]*$//}}
-.if !empty(PKG_EXCLUDE_OMIT_FRAME_POINTER:M${PKGBASE})
+.if !empty(PKG_EXCLUDE_OMIT_FRAME_POINTER:M${TMPPKGBASE})
COPT_FLAGS:= ${COPT_FLAGS:S/-fomit-frame-pointer//}
.endif
-.if !empty(PKG_EXCLUDE_INLINE_FUNCTIONS:M${PKGBASE})
+.if !empty(PKG_EXCLUDE_INLINE_FUNCTIONS:M${TMPPKGBASE})
COPT_FLAGS:= ${COPT_FLAGS:S/-finline-functions//}
.endif
-.if !empty(PKG_EXCLUDE_FAST_MATH:M${PKGBASE})
+.if !empty(PKG_EXCLUDE_FAST_MATH:M${TMPPKGBASE})
COPT_FLAGS:= ${COPT_FLAGS:S/-ffast-math//}
.endif
TMPPKGNAME=
+TMPPKGBASE=
CFLAGS+=${COPT_FLAGS}
CXXFLAGS+=${COPT_FLAGS}
diff -r c9e6d4dbdf1d -r e41d17bd19f5 doc/CHANGES
--- a/doc/CHANGES Tue Sep 27 16:09:50 2005 +0000
+++ b/doc/CHANGES Tue Sep 27 16:38:11 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.11227 2005/09/27 15:51:22 adam Exp $
+$NetBSD: CHANGES,v 1.11228 2005/09/27 16:38:39 abs Exp $
Changes to the packages collection and infrastructure in 2005:
@@ -4147,3 +4147,4 @@
Updated comms/efax-gtk to 3.0.5 [adam 2005-09-27]
Updated editors/abiword to 2.2.10 [adam 2005-09-27]
Updated editors/abiword-plugins to 2.2.10 [adam 2005-09-27]
+ Updated devel/cpuflags to 0.94 [abs 2005-09-27]
Home |
Main Index |
Thread Index |
Old Index