pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/go-minify go-minify: adapt for go build default ar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24277331cb21
branches:  trunk
changeset: 385612:24277331cb21
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Sep 20 19:38:26 2022 +0000

description:
go-minify: adapt for go build default argument change

Fix portability issue while here.

diffstat:

 www/go-minify/Makefile               |   5 +----
 www/go-minify/distinfo               |   3 ++-
 www/go-minify/patches/patch-Makefile |  15 +++++++++++++++
 3 files changed, 18 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r ce7057983a09 -r 24277331cb21 www/go-minify/Makefile
--- a/www/go-minify/Makefile    Tue Sep 20 19:30:51 2022 +0000
+++ b/www/go-minify/Makefile    Tue Sep 20 19:38:26 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2022/09/07 09:32:21 bsiegert Exp $
+# $NetBSD: Makefile,v 1.46 2022/09/20 19:38:26 wiz Exp $
 
 DISTNAME=      minify-2.9.21
 PKGNAME=       go-${DISTNAME}
@@ -13,9 +13,6 @@
 COMMENT=       Command line tool that minifies web formats concurrently
 LICENSE=       mit
 
-post-install:
-       ${RM} ${DESTDIR}${PREFIX}/bin/mkwinsyscall
-
 .include "go-modules.mk"
 .include "../../lang/go/go-module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ce7057983a09 -r 24277331cb21 www/go-minify/distinfo
--- a/www/go-minify/distinfo    Tue Sep 20 19:30:51 2022 +0000
+++ b/www/go-minify/distinfo    Tue Sep 20 19:38:26 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:29:29 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/09/20 19:38:26 wiz Exp $
 
 BLAKE2s (github.com_cheekybits_is_@v_v0.0.0-20150225183255-68e9c0620927.mod) = 015185c7f669ff0a052607a4447129665b8a2980e4fef75aa9a6a66d9dac08ba
 SHA512 (github.com_cheekybits_is_@v_v0.0.0-20150225183255-68e9c0620927.mod) = 
bac95e43558eaf04fc634b9b87039bc3e7ffa17e84cd94c6be19a6ffc0fe1c90dfe67b43b5d6c4262b4fb2c6ddb30f19090320ffbc20cc75c1a1649bb4441e27
@@ -54,3 +54,4 @@
 BLAKE2s (minify-2.9.21.tar.gz) = 9a39b4e93db13fbe0315d28f308a8f1eca5de066d00bda35a92ea4569a15a1bc
 SHA512 (minify-2.9.21.tar.gz) = 7e401398f7dcf88adbfc97e1366bd98470e06c8f971f426b20d7c0f0e159d599256c9b28dd9791c24434056831ced7680a10863b4bd20f08d3e114c33d15d87e
 Size (minify-2.9.21.tar.gz) = 4045371 bytes
+SHA1 (patch-Makefile) = b36df07100c47feedeee77716a5ede26e9819de6
diff -r ce7057983a09 -r 24277331cb21 www/go-minify/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-minify/patches/patch-Makefile      Tue Sep 20 19:38:26 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2022/09/20 19:38:26 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- Makefile.orig      2021-07-29 17:04:08.000000000 +0000
++++ Makefile
+@@ -31,7 +31,7 @@ release:
+               \
+               cp LICENSE dist/$$t/.; \
+               cp cmd/minify/README.md dist/$$t/.; \
+-              if [ "$$os" == "windows" ]; then \
++              if [ "$$os" = "windows" ]; then \
+                       mv dist/$$t/${NAME} dist/$$t/${NAME}.exe; \
+                       zip -jq dist/${NAME}_$$t.zip dist/$$t/*; \
+                       cd dist; \



Home | Main Index | Thread Index | Old Index