summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-01-23 00:04:45 +0000
committerabs <abs@pkgsrc.org>2009-01-23 00:04:45 +0000
commit5c2c421c10d1d7fe6e1e348a54bd0e9423f5a85d (patch)
tree567d540d4ac8fea563f69255ad608c66192b5c10 /devel/cpuflags
parent074e8eb9ffcfad0e30673762ce5fdf41ac0630ac (diff)
downloadpkgsrc-5c2c421c10d1d7fe6e1e348a54bd0e9423f5a85d.tar.gz
Updated devel/cpuflags to 1.36
Use `` rather than $() so we can work with Solaris sh
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile4
-rwxr-xr-xdevel/cpuflags/files/cpuflags.sh8
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 4b1080588ff..f16b00826ec 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -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 --git a/devel/cpuflags/files/cpuflags.sh b/devel/cpuflags/files/cpuflags.sh
index 040c0b3570d..459d5b35c89 100755
--- a/devel/cpuflags/files/cpuflags.sh
+++ b/devel/cpuflags/files/cpuflags.sh
@@ -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()