pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/go14
Module Name: pkgsrc
Committed By: bsiegert
Date: Sat Feb 20 13:54:46 UTC 2021
Modified Files:
pkgsrc/lang/go14: Makefile
Log Message:
go14: prevent spurious recompiles of standard library packages
This touches all compiled std library files after installation, to avoid
extra recompilations when a dependent package (most likely a newer Go
release) is being built.
Patch from mlelstv@ in PR pkg/55900.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/go14/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/go14/Makefile
diff -u pkgsrc/lang/go14/Makefile:1.23 pkgsrc/lang/go14/Makefile:1.24
--- pkgsrc/lang/go14/Makefile:1.23 Tue Oct 20 11:22:27 2020
+++ pkgsrc/lang/go14/Makefile Sat Feb 20 13:54:46 2021
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.23 2020/10/20 11:22:27 nia Exp $
+# $NetBSD: Makefile,v 1.24 2021/02/20 13:54:46 bsiegert Exp $
.include "../../lang/go/version.mk"
DISTNAME= go${GO14_VERSION}.src
PKGNAME= go14-${GO14_VERSION}
-PKGREVISION= 11
+PKGREVISION= 12
CATEGORIES= lang
MASTER_SITES= https://storage.googleapis.com/golang/
PATCH_SITES= https://codereview.appspot.com/download/
@@ -15,7 +15,7 @@ COMMENT= The Go programming language
LICENSE= modified-bsd
WRKSRC= ${WRKDIR}/go
-USE_TOOLS+= bash:run perl:run pax
+USE_TOOLS+= bash:run perl:run pax touch
# uses ulimit -T
BUILD_DEPENDS+= bash>=4.2nb3:../../shells/bash
@@ -88,5 +88,7 @@ do-install:
cd ${WRKSRC} && rm -rf .hgignore .hgtags pkg/obj
cd ${WRKDIR}/go && pax -rw * ${DESTDIR}${GOROOT_FINAL}
find ${DESTDIR}${GOROOT_FINAL} -name \*.orig -exec rm {} \;
+ find ${DESTDIR}${GOROOT_FINAL} -type f -exec ${TOUCH} -r ${DESTDIR}${GOROOT_FINAL} {} \;
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index