Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/go-dns net/go-dns: fix shell portability



details:   https://anonhg.NetBSD.org/pkgsrc/rev/488c51becc53
branches:  trunk
changeset: 431147:488c51becc53
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 09 18:55:01 2020 +0000

description:
net/go-dns: fix shell portability

diffstat:

 net/go-dns/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 9c19524bdcae -r 488c51becc53 net/go-dns/Makefile
--- a/net/go-dns/Makefile       Sat May 09 18:44:14 2020 +0000
+++ b/net/go-dns/Makefile       Sat May 09 18:55:01 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2020/04/12 11:01:44 bsiegert Exp $
+# $NetBSD: Makefile,v 1.27 2020/05/09 18:55:01 rillig Exp $
 
 DISTNAME=      go-dns-1.1.3
-PKGREVISION=   13
+PKGREVISION=   14
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=miekg/}
 GITHUB_PROJECT=        dns
@@ -18,10 +18,11 @@
 
 PFX=           vendor/golang.org
 
-REPLACE_SH+=   ${PFX}/x/sys/plan9/mkall.sh
-REPLACE_SH+=   ${PFX}/x/sys/plan9/mkerrors.sh
-REPLACE_SH+=   ${PFX}/x/sys/unix/mkall.sh
-REPLACE_SH+=   ${PFX}/x/sys/unix/mkerrors.sh
+USE_TOOLS+=    bash:run # golang.org/x/sys already switched to bash
+REPLACE_BASH+= ${PFX}/x/sys/plan9/mkall.sh
+REPLACE_BASH+= ${PFX}/x/sys/plan9/mkerrors.sh
+REPLACE_BASH+= ${PFX}/x/sys/unix/mkall.sh
+REPLACE_BASH+= ${PFX}/x/sys/unix/mkerrors.sh
 
 REPLACE_PERL+= ${PFX}/x/sys/plan9/mksyscall.pl
 REPLACE_PERL+= ${PFX}/x/sys/unix/linux/mksysnum.pl



Home | Main Index | Thread Index | Old Index