pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/go-minify



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Sep 20 19:38:26 UTC 2022

Modified Files:
        pkgsrc/www/go-minify: Makefile distinfo
Added Files:
        pkgsrc/www/go-minify/patches: patch-Makefile

Log Message:
go-minify: adapt for go build default argument change

Fix portability issue while here.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/www/go-minify/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/go-minify/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/go-minify/patches/patch-Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/go-minify/Makefile
diff -u pkgsrc/www/go-minify/Makefile:1.45 pkgsrc/www/go-minify/Makefile:1.46
--- pkgsrc/www/go-minify/Makefile:1.45  Wed Sep  7 09:32:21 2022
+++ pkgsrc/www/go-minify/Makefile       Tue Sep 20 19:38:26 2022
@@ -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 @@ HOMEPAGE=     https://github.com/tdewolff/mi
 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"

Index: pkgsrc/www/go-minify/distinfo
diff -u pkgsrc/www/go-minify/distinfo:1.5 pkgsrc/www/go-minify/distinfo:1.6
--- pkgsrc/www/go-minify/distinfo:1.5   Tue Oct 26 11:29:29 2021
+++ pkgsrc/www/go-minify/distinfo       Tue Sep 20 19:38:26 2022
@@ -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 @@ Size (golang.org_x_sys_@v_v0.0.0-2021051
 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

Added files:

Index: pkgsrc/www/go-minify/patches/patch-Makefile
diff -u /dev/null pkgsrc/www/go-minify/patches/patch-Makefile:1.1
--- /dev/null   Tue Sep 20 19:38:26 2022
+++ pkgsrc/www/go-minify/patches/patch-Makefile Tue Sep 20 19:38:26 2022
@@ -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