pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go118 go118: make print-PLIST work without manual...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3c1f6221bd24
branches: trunk
changeset: 380768:3c1f6221bd24
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Tue Jun 14 18:41:44 2022 +0000
description:
go118: make print-PLIST work without manual fixups
Add some PRINT_PLIST_AWK statements to do the standard transformations
that I used to do by hand. With this change, "make print-PLIST" outputs
the correct PLIST without a need for manually fixing some lines.
diffstat:
lang/go118/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 5043c1b4a787 -r 3c1f6221bd24 lang/go118/Makefile
--- a/lang/go118/Makefile Tue Jun 14 16:46:32 2022 +0000
+++ b/lang/go118/Makefile Tue Jun 14 18:41:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2022/03/15 20:13:45 bsiegert Exp $
+# $NetBSD: Makefile,v 1.2 2022/06/14 18:41:44 bsiegert Exp $
.include "../../lang/go/version.mk"
.include "../../lang/go/bootstrap.mk"
@@ -92,6 +92,11 @@
PLIST.route= yes
.endif
+PRINT_PLIST_AWK+= /^bin\/go${GOVERSSUFFIX}/ { print "bin/go$${GOVERSSUFFIX}"; next; }
+PRINT_PLIST_AWK+= /^bin\/gofmt${GOVERSSUFFIX}/ { print "bin/gofmt$${GOVERSSUFFIX}"; next; }
+PRINT_PLIST_AWK+= /internal\/pty\.a/ { printf "%s", "$${PLIST.pty}"; }
+PRINT_PLIST_AWK+= /x\/net\/route\.a/ { printf "%s", "$${PLIST.route}"; }
+
post-extract:
${RM} -r -f ${WRKSRC}/test/fixedbugs/issue27836*
Home |
Main Index |
Thread Index |
Old Index