diff options
author | abs <abs@pkgsrc.org> | 2009-01-23 00:04:45 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-01-23 00:04:45 +0000 |
commit | 5c2c421c10d1d7fe6e1e348a54bd0e9423f5a85d (patch) | |
tree | 567d540d4ac8fea563f69255ad608c66192b5c10 /devel/cpuflags | |
parent | 074e8eb9ffcfad0e30673762ce5fdf41ac0630ac (diff) | |
download | pkgsrc-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/Makefile | 4 | ||||
-rwxr-xr-x | devel/cpuflags/files/cpuflags.sh | 8 |
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() |