pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cpuflags Updated devel/cpuflags to 1.36
details: https://anonhg.NetBSD.org/pkgsrc/rev/5976af48e655
branches: trunk
changeset: 553493:5976af48e655
user: abs <abs%pkgsrc.org@localhost>
date: Fri Jan 23 00:04:45 2009 +0000
description:
Updated devel/cpuflags to 1.36
Use `` rather than $() so we can work with Solaris sh
diffstat:
devel/cpuflags/Makefile | 4 ++--
devel/cpuflags/files/cpuflags.sh | 8 +++++---
2 files changed, 7 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 3e85b7f11375 -r 5976af48e655 devel/cpuflags/Makefile
--- a/devel/cpuflags/Makefile Thu Jan 22 21:23:27 2009 +0000
+++ b/devel/cpuflags/Makefile Fri Jan 23 00:04:45 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.141 2009/01/20 17:26:21 abs Exp $
+# $NetBSD: Makefile,v 1.142 2009/01/23 00:04:45 abs Exp $
-DISTNAME= cpuflags-1.35
+DISTNAME= cpuflags-1.36
CATEGORIES= devel sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 3e85b7f11375 -r 5976af48e655 devel/cpuflags/files/cpuflags.sh
--- a/devel/cpuflags/files/cpuflags.sh Thu Jan 22 21:23:27 2009 +0000
+++ b/devel/cpuflags/files/cpuflags.sh Fri Jan 23 00:04:45 2009 +0000
@@ -1,12 +1,14 @@
#!/bin/sh
-# $NetBSD: cpuflags.sh,v 1.5 2009/01/20 17:26:21 abs Exp $
+# $NetBSD: cpuflags.sh,v 1.6 2009/01/23 00:04:45 abs Exp $
PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
+# Note - this script needs to run on Solaris sh, so no use of $(...)
+
# cd to the directory containing the binary, so we can usefully check for
# include files from there
case "$0" in
- /*) cd $(dirname $0) ;;
- *) cd $(dirname $PWD/$0) ;;
+ /*) cd `dirname $0`;;
+ *) cd `dirname $PWD/$0`;;
esac
include()
Home |
Main Index |
Thread Index |
Old Index