aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-10-12 17:06:17 +0800
committermat <mat@FreeBSD.org>2017-10-12 17:06:17 +0800
commit4609c9e867830f2a15258478f29f794b97676dcf (patch)
tree4e276eff5a36cfbec8aaa631c017c918d78c29da /devel
parent31957cd5f3158b47a5ec2fe356d7c01eeb0cde00 (diff)
downloadfreebsd-ports-gnome-4609c9e867830f2a15258478f29f794b97676dcf.tar.gz
freebsd-ports-gnome-4609c9e867830f2a15258478f29f794b97676dcf.tar.zst
freebsd-ports-gnome-4609c9e867830f2a15258478f29f794b97676dcf.zip
Stripping go binaries is perfectly fine.
https://dominik.honnef.co/posts/2016/10/go-and-strip/ Sponsored by: Absolight
Diffstat (limited to 'devel')
-rw-r--r--devel/arduino-builder/Makefile1
-rw-r--r--devel/arduinoOTA/Makefile2
-rw-r--r--devel/gb/Makefile1
-rw-r--r--devel/git-codereview/Makefile2
-rw-r--r--devel/grumpy/Makefile2
-rw-r--r--devel/jfrog-cli/Makefile2
6 files changed, 0 insertions, 10 deletions
diff --git a/devel/arduino-builder/Makefile b/devel/arduino-builder/Makefile
index a87d5cce51fc..c85fa71985ee 100644
--- a/devel/arduino-builder/Makefile
+++ b/devel/arduino-builder/Makefile
@@ -27,7 +27,6 @@ TOOLS_RUN_DEPENDS= arduino-tools>=${_COMPAT_VER}:devel/arduino-tools
TOOLS_PLIST_FILES= arduino/arduino-builder.options
GO_ENV+= GOPATH=${WRKSRC}
-STRIP= # stripping can break go binaries
_COMPAT_VER= 1.6.12
_IDE_VER= 10612
diff --git a/devel/arduinoOTA/Makefile b/devel/arduinoOTA/Makefile
index 11ffec34ce90..0af6f152845d 100644
--- a/devel/arduinoOTA/Makefile
+++ b/devel/arduinoOTA/Makefile
@@ -18,8 +18,6 @@ GH_TAGNAME= c2b8306
PLIST_FILES= bin/${PORTNAME}
COMPILEINFO= ${OPSYS}${OSREL}-${ARCH}-${GH_TAGNAME}
-STRIP= # stripping can break go binaries
-
do-build:
(cd ${WRKSRC} && ${SETENV} ${GO_ENV} go build -o ${PORTNAME} -ldflags "-X main.compileInfo=${COMPILEINFO}" main.go)
diff --git a/devel/gb/Makefile b/devel/gb/Makefile
index 40bb88e521c7..dffd240bf735 100644
--- a/devel/gb/Makefile
+++ b/devel/gb/Makefile
@@ -19,7 +19,6 @@ PLIST_FILES= bin/gb bin/gb-vendor
PORTDOCS= README.md
-STRIP= # stripping can break go binaries
GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
GO_TARGET= ./...
diff --git a/devel/git-codereview/Makefile b/devel/git-codereview/Makefile
index 48a6a3b28add..c968279a8ff4 100644
--- a/devel/git-codereview/Makefile
+++ b/devel/git-codereview/Makefile
@@ -16,8 +16,6 @@ GH_TAGNAME= 77ae237
PLIST_FILES= bin/git-codereview
-STRIP= # stripping can break go binaries
-
post-patch:
@${MKDIR} ${WRKSRC}/src/golang.org/x/review
.for src in .gitattributes AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE PATENTS \
diff --git a/devel/grumpy/Makefile b/devel/grumpy/Makefile
index f2b67e5e9922..4d61bc775a99 100644
--- a/devel/grumpy/Makefile
+++ b/devel/grumpy/Makefile
@@ -25,8 +25,6 @@ PLIST_SUB= ARCH=amd64
PLIST_SUB= ARCH=386
.endif
-STRIP= # stripping can break go binaries
-
do-install:
cd ${WRKSRC}/build/pkg && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/go/pkg/
cd ${WRKSRC}/build/src && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/go/src/
diff --git a/devel/jfrog-cli/Makefile b/devel/jfrog-cli/Makefile
index d88614b3e90d..08a7459b8fc9 100644
--- a/devel/jfrog-cli/Makefile
+++ b/devel/jfrog-cli/Makefile
@@ -15,8 +15,6 @@ GH_PROJECT= jfrog-cli-go
PLIST_FILES= bin/jfrog
-STRIP= # stripping can break go binaries
-
post-extract:
@${MV} ${WRKSRC}/vendor/ ${WRKSRC}/src
@${MKDIR} ${WRKSRC}/src/github.com/jfrogdev/jfrog-cli-go