diff options
author | wiedi <wiedi@pkgsrc.org> | 2015-12-08 21:22:45 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2015-12-08 21:22:45 +0000 |
commit | 77b53e320bc1b135adea1c99c3de300959f6f409 (patch) | |
tree | 9652afde00655edfb077af414fdfc5d6904c0241 /sysutils | |
parent | 2bedfe6027f6e13c340e35f2fc2c7802f39b78e2 (diff) | |
download | pkgsrc-77b53e320bc1b135adea1c99c3de300959f6f409.tar.gz |
fix bashism, thanks joerg
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/znapzend/distinfo | 4 | ||||
-rw-r--r-- | sysutils/znapzend/patches/patch-Makefile.in | 15 |
2 files changed, 14 insertions, 5 deletions
diff --git a/sysutils/znapzend/distinfo b/sysutils/znapzend/distinfo index bc780de272c..a65858bee28 100644 --- a/sysutils/znapzend/distinfo +++ b/sysutils/znapzend/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.6 2015/11/25 23:45:10 wiedi Exp $ +$NetBSD: distinfo,v 1.7 2015/12/08 21:22:45 wiedi Exp $ SHA1 (znapzend-0.14.1.tar.gz) = 5ca2f8255433c54b39ac4c36317a28f2a170df0d RMD160 (znapzend-0.14.1.tar.gz) = 5c596b29f92190f811226b51d41b76a0c66972e3 SHA512 (znapzend-0.14.1.tar.gz) = aef7c22eabe8afe21e28a839c27aed0aa6ba6025f3c61a897b77609f64280cdc10ead1a813ea5fe4b47831a7a679ce15bea2ca3890885eb2b6091c4f53dad604 Size (znapzend-0.14.1.tar.gz) = 137009 bytes -SHA1 (patch-Makefile.in) = 58f6f3a8081b8c756f619f2e40eee2a3740c9a16 +SHA1 (patch-Makefile.in) = 661e103e54748b3d3ebecbd7cef1044468087511 SHA1 (patch-lib_Makefile.in) = 879ab9ac43781e270e40eb92d236e915a9e14c8e diff --git a/sysutils/znapzend/patches/patch-Makefile.in b/sysutils/znapzend/patches/patch-Makefile.in index 453a91577b0..94ecff914b2 100644 --- a/sysutils/znapzend/patches/patch-Makefile.in +++ b/sysutils/znapzend/patches/patch-Makefile.in @@ -1,11 +1,20 @@ -$NetBSD: patch-Makefile.in,v 1.1 2015/11/25 23:45:10 wiedi Exp $ +$NetBSD: patch-Makefile.in,v 1.2 2015/12/08 21:22:45 wiedi Exp $ There is no thirdparty stuff to install +Also fix bashisms --- Makefile.in.orig 2015-10-12 06:53:47.000000000 +0000 +++ Makefile.in -@@ -906,7 +906,7 @@ install-exec-hook: - $(AM_V_GEN)[ "$(PERL5LIB)" == "" ] || cd "$(DESTDIR)$(exec_prefix)" && $(PERL) -i -p -e 's{.*# PERL5LIB}{use lib qw($(PERL5LIB)); # PERL5LIB}' $(BIN) +@@ -900,13 +900,13 @@ CHANGES: VERSION + git log --simplify-merges --full-history --no-merges --pretty=format:'%ai %d %s -- %an' > CHANGES + + all-local: +- $(AM_V_GEN)[ "$(MISSING_PERL_MODULES)" == "" ] || $(GMAKE) get-thirdparty-modules ++ $(AM_V_GEN)[ "$(MISSING_PERL_MODULES)" = "" ] || $(GMAKE) get-thirdparty-modules + + install-exec-hook: +- $(AM_V_GEN)[ "$(PERL5LIB)" == "" ] || cd "$(DESTDIR)$(exec_prefix)" && $(PERL) -i -p -e 's{.*# PERL5LIB}{use lib qw($(PERL5LIB)); # PERL5LIB}' $(BIN) ++ $(AM_V_GEN)[ "$(PERL5LIB)" = "" ] || cd "$(DESTDIR)$(exec_prefix)" && $(PERL) -i -p -e 's{.*# PERL5LIB}{use lib qw($(PERL5LIB)); # PERL5LIB}' $(BIN) $(AM_V_GEN)cd "$(DESTDIR)$(exec_prefix)" && $(PERL) -i -p -e 's{.*# LIBDIR}{use lib qw($(libdir)); # LIBDIR}' $(BIN) $(AM_V_GEN)cd "$(DESTDIR)$(exec_prefix)" && $(PERL) -i -p -e 's{^#!.*perl.*}{#!$(PERL)};' $(BIN) - $(AM_V_GEN)cp -fr $(THIRDPARTY_DIR)/lib/perl5/* $(DESTDIR)$(libdir) |