pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/go-bin



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Apr  2 13:49:28 UTC 2024

Modified Files:
        pkgsrc/lang/go-bin: Makefile

Log Message:
go-bin: pkglint autofix.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/go-bin/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/go-bin/Makefile
diff -u pkgsrc/lang/go-bin/Makefile:1.20 pkgsrc/lang/go-bin/Makefile:1.21
--- pkgsrc/lang/go-bin/Makefile:1.20    Tue Apr  2 13:48:51 2024
+++ pkgsrc/lang/go-bin/Makefile Tue Apr  2 13:49:28 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2024/04/02 13:48:51 jperkin Exp $
+# $NetBSD: Makefile,v 1.21 2024/04/02 13:49:28 jperkin Exp $
 
 PKGNAME=       go-bin-1.21.5
 CATEGORIES=    lang
@@ -33,49 +33,49 @@ CHECK_RELRO_SUPPORTED=              no
 
 ONLY_FOR_PLATFORM+=            Darwin-*-x86_64
 DIST.darwin-amd64=             go${PKGVERSION_NOREV}.darwin-amd64.tar.gz
-.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make(mdi)
+.if ${MACHINE_PLATFORM:MDarwin-*-x86_64} || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.darwin-amd64}
 EXTRACT_ONLY+=                 ${DIST.darwin-amd64}
 .endif
 
 ONLY_FOR_PLATFORM+=            Darwin-*-aarch64
 DIST.darwin-arm64=             go${PKGVERSION_NOREV}.darwin-arm64.tar.gz
-.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) || make(distinfo) || make(mdi)
+.if ${MACHINE_PLATFORM:MDarwin-*-aarch64} || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.darwin-arm64}
 EXTRACT_ONLY+=                 ${DIST.darwin-arm64}
 .endif
 
 ONLY_FOR_PLATFORM+=            Linux-*-i386
 DIST.linux-386=                        go${PKGVERSION_NOREV}.linux-386.tar.gz
-.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo) || make(mdi)
+.if ${MACHINE_PLATFORM:MLinux-*-i386} || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.linux-386}
 EXTRACT_ONLY+=                 ${DIST.linux-386}
 .endif
 
 ONLY_FOR_PLATFORM+=            Linux-*-x86_64
 DIST.linux-amd64=              go${PKGVERSION_NOREV}.linux-amd64.tar.gz
-.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo) || make(mdi)
+.if ${MACHINE_PLATFORM:MLinux-*-x86_64} || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.linux-amd64}
 EXTRACT_ONLY+=                 ${DIST.linux-amd64}
 .endif
 
 ONLY_FOR_PLATFORM+=            Linux-*-*arm*
 DIST.linux-armv6l=             go${PKGVERSION_NOREV}.linux-armv6l.tar.gz
-.if !empty(MACHINE_PLATFORM:MLinux-*-*arm*) || make(distinfo) || make(mdi)
+.if ${MACHINE_PLATFORM:MLinux-*-*arm*} || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.linux-armv6l}
 EXTRACT_ONLY+=                 ${DIST.linux-armv6l}
 .endif
 
 ONLY_FOR_PLATFORM+=            Linux-*-aarch64
 DIST.linux-arm64=              go${PKGVERSION_NOREV}.linux-arm64.tar.gz
-.if !empty(MACHINE_PLATFORM:MLinux-*-aarch64) || make(distinfo) || make(mdi)
+.if ${MACHINE_PLATFORM:MLinux-*-aarch64} || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.linux-arm64}
 EXTRACT_ONLY+=                 ${DIST.linux-arm64}
 .endif
 
 ONLY_FOR_PLATFORM+=            NetBSD-*-aarch64
 DIST.netbsd-arm64=             go${PKGVERSION_NOREV}.netbsd-arm64.tar.gz
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) || make(distinfo) || make(mdi)
+.if ${MACHINE_PLATFORM:MNetBSD-*-aarch64} || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.netbsd-arm64}
 EXTRACT_ONLY+=                 ${DIST.netbsd-arm64}
 .endif
@@ -83,7 +83,7 @@ EXTRACT_ONLY+=                        ${DIST.netbsd-arm64}
 ONLY_FOR_PLATFORM+=            SunOS-*-x86_64
 DIST.illumos-amd64=            go1.21.8.illumos-amd64.tar.gz
 SITES.${DIST.illumos-amd64}=   https://us-central.manta.mnx.io/pkgsrc/public/pkg-bootstraps/
-.if !empty(MACHINE_PLATFORM:MSunOS-*-x86_64) || make(distinfo) || make(mdi)
+.if ${MACHINE_PLATFORM:MSunOS-*-x86_64} || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.illumos-amd64}
 EXTRACT_ONLY+=                 ${DIST.illumos-amd64}
 .endif
@@ -97,7 +97,7 @@ do-install:
 # running them outside.  We're left with no choice but to make it configurable
 # by the user.
 #
-.if !empty(MACHINE_PLATFORM:MDarwin-*-*) && defined(DARWIN_CHROOTED)
+.if ${MACHINE_PLATFORM:MDarwin-*-*} && defined(DARWIN_CHROOTED)
        for f in ${DESTDIR}${PREFIX}/go-bin/bin/* \
                 ${DESTDIR}${PREFIX}/go-bin/pkg/tool/darwin_*/*; do \
                /usr/bin/codesign --remove-signature $$f; \



Home | Main Index | Thread Index | Old Index