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.92
details: https://anonhg.NetBSD.org/pkgsrc/rev/a297f511daee
branches: trunk
changeset: 499339:a297f511daee
user: abs <abs%pkgsrc.org@localhost>
date: Tue Sep 20 10:58:23 2005 +0000
description:
Update cpuflags to 0.92
optimize_gcc.mk needs to know the name of the package that is
currently being built. Unfortunately with pkgsrc there is no way
to do this, and its previous attempts to derive PKGNAME (if not
set) from DISTNAME broke the php usage ext.mk file. Use a temp
variable to do the same thing without breaking other pkgsrc
assumptions
diffstat:
devel/cpuflags/Makefile | 4 ++--
devel/cpuflags/files/optimize_gcc.mk | 8 +++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r 11a6b6d38653 -r a297f511daee devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile Tue Sep 20 10:56:38 2005 +0000
+++ b/devel/cpuflags/Makefile Tue Sep 20 10:58:23 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.94 2005/09/09 16:03:32 abs Exp $
+# $NetBSD: Makefile,v 1.95 2005/09/20 10:58:23 abs Exp $
#
-DISTNAME= cpuflags-0.91
+DISTNAME= cpuflags-0.92
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 11a6b6d38653 -r a297f511daee devel/cpuflags/files/optimize_gcc.mk
--- a/devel/cpuflags/files/optimize_gcc.mk Tue Sep 20 10:56:38 2005 +0000
+++ b/devel/cpuflags/files/optimize_gcc.mk Tue Sep 20 10:58:23 2005 +0000
@@ -1,4 +1,4 @@
-# $Id: optimize_gcc.mk,v 1.23 2005/09/09 16:03:32 abs Exp $
+# $Id: optimize_gcc.mk,v 1.24 2005/09/20 10:58:23 abs Exp $
# This file is 'experimental' - which is doublespeak for unspeakably
# ugly, and quite broken by design.
@@ -20,8 +20,10 @@
# This is a horrible mess, but how else to adjust per package?
-PKGNAME?=${DISTNAME}
-PKGBASE?=${PKGNAME:C/-[^-]*$//}
+TMPPKGNAME=${PKGNAME}
+TMPPKGNAME?=${DISTNAME}
+PKGBASE?=${TMPPKGNAME:C/-[^-]*$//}
+TMPPKGNAME=
COPT_FLAGS+=-ffast-math -fomit-frame-pointer
Home |
Main Index |
Thread Index |
Old Index