1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

dns/dnscrypt-proxy2: fix build after deps update

While here, use ${GO_BUILDFLAGS}

PR:		231063
Submitted by:	Vinícius Zavam <egypcio@googlemail.com> (maintainer
This commit is contained in:
Steve Wills 2018-08-31 23:02:44 +00:00
parent 88fe41ccc4
commit 5be3b587b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478620
2 changed files with 6 additions and 5 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= dnscrypt-proxy
PORTVERSION= 2.0.16
PORTREVISION= 1
CATEGORIES= dns security ipv6
PKGNAMESUFFIX= 2
@ -18,7 +19,7 @@ USE_RC_SUBR= ${PORTNAME}
USES= go
USE_GITHUB= yes
GH_ACCOUNT= jedisct1
GH_TAGNAME= c53b28d
USERS= _dnscrypt-proxy
GROUPS= _dnscrypt-proxy
@ -37,7 +38,7 @@ do-build:
${RLN} ${WRKSRC}/vendor ${WRKSRC}/src
cd ${WRKSRC}/${PORTNAME} && \
${SETENV} ${MAKE_ENV} ${GO_ENV} GOPATH=${WRKSRC} \
${GO_CMD} build -ldflags "-s -w" -o ${WRKDIR}/sbin/${PORTNAME}
${GO_CMD} build ${GO_BUILDFLAGS} -o ${WRKDIR}/sbin/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/sbin/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1531247818
SHA256 (jedisct1-dnscrypt-proxy-2.0.16_GH0.tar.gz) = 7ff4cb7890fdf6b1b54ec4a9ef9f8ba5e71bcaff8522f324ef6ecc739ce95e5e
SIZE (jedisct1-dnscrypt-proxy-2.0.16_GH0.tar.gz) = 3770249
TIMESTAMP = 1535743338
SHA256 (jedisct1-dnscrypt-proxy-2.0.16-c53b28d_GH0.tar.gz) = 3bb0136615a31556fe79a1cbb6cb196865c86d2886ee167e69f59d67c5fd2859
SIZE (jedisct1-dnscrypt-proxy-2.0.16-c53b28d_GH0.tar.gz) = 3263576