diff options
author | drochner <drochner@pkgsrc.org> | 2010-07-30 16:59:48 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2010-07-30 16:59:48 +0000 |
commit | 8d4d93d31a457aae9762036e1c7f5d3f0605d118 (patch) | |
tree | b18e3a3552abc0811b7b1a1140dc3f530ebaadfe /misc | |
parent | 04387709f2feb8afc20771fe17f110277f03ba59 (diff) | |
download | pkgsrc-8d4d93d31a457aae9762036e1c7f5d3f0605d118.tar.gz |
there is no point in keeping a runtime dependency on bash just
for a trivial script, so fix the script instead
Diffstat (limited to 'misc')
-rw-r--r-- | misc/urjtag/Makefile | 6 | ||||
-rw-r--r-- | misc/urjtag/distinfo | 3 | ||||
-rw-r--r-- | misc/urjtag/patches/patch-ad | 22 |
3 files changed, 27 insertions, 4 deletions
diff --git a/misc/urjtag/Makefile b/misc/urjtag/Makefile index 11f2515a907..c1942b2956c 100644 --- a/misc/urjtag/Makefile +++ b/misc/urjtag/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/07/30 16:02:45 drochner Exp $ +# $NetBSD: Makefile,v 1.2 2010/07/30 16:59:48 drochner Exp $ # DISTNAME= urjtag-0.10 @@ -14,8 +14,8 @@ PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes USE_PKGLOCALEDIR= yes -USE_TOOLS+= gmake bash:run -REPLACE_BASH= src/bsdl2jtag +USE_TOOLS+= gmake +REPLACE_SH= src/bsdl2jtag post-extract: ${CP} ${FILESDIR}/usbprog.c ${WRKSRC}/src/tap/cable diff --git a/misc/urjtag/distinfo b/misc/urjtag/distinfo index 560fc70f380..83bbc740a8f 100644 --- a/misc/urjtag/distinfo +++ b/misc/urjtag/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/07/30 16:02:45 drochner Exp $ +$NetBSD: distinfo,v 1.2 2010/07/30 16:59:48 drochner Exp $ SHA1 (urjtag-0.10.tar.gz) = 1e21f07d758e9e151d932e95c0b3b11fd178eace RMD160 (urjtag-0.10.tar.gz) = d22dcaf8447e594f5fbb25836df141e2a451760a @@ -6,3 +6,4 @@ Size (urjtag-0.10.tar.gz) = 1391759 bytes SHA1 (patch-aa) = 0c5128a37f763eb5f436f7682cbb1172f1c8fe40 SHA1 (patch-ab) = 1187447787012901d59f8967ae08c1047e23f38e SHA1 (patch-ac) = 1d241fb503e45a57f63f87eeada6804dbb278502 +SHA1 (patch-ad) = 3dcf6a0297b339db1b52a8d9cb6fe907e589b07b diff --git a/misc/urjtag/patches/patch-ad b/misc/urjtag/patches/patch-ad new file mode 100644 index 00000000000..d02c10cd604 --- /dev/null +++ b/misc/urjtag/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1 2010/07/30 16:59:49 drochner Exp $ + +--- src/bsdl2jtag.orig 2009-04-17 20:24:11.000000000 +0000 ++++ src/bsdl2jtag +@@ -24,7 +24,7 @@ + + scriptname=`basename $0` + +-function usage () ++usage () + { + cat <<EOF + Usage: $scriptname <bsdl-file> <jtag-file> +@@ -37,7 +37,7 @@ Parameters + EOF + } + +-if [[ -z $1 || -z $2 ]]; then ++if [ -z "$1" -o -z "$2" ]; then + usage + exit 1 + fi |