diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2018-09-23 18:39:22 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2018-09-23 18:39:22 +0000 |
commit | ff83f991e3c747fafd72ca5fa8bc94d10be9fbfd (patch) | |
tree | 4f103929a7d552eea13ccc73ec45d54849a510b5 /security | |
parent | b5442e844287a5426fcb421a4022af7a85d93f00 (diff) | |
download | pkgsrc-ff83f991e3c747fafd72ca5fa8bc94d10be9fbfd.tar.gz |
Use correct versioned Go dependency, subst go tool path.
Diffstat (limited to 'security')
-rw-r--r-- | security/boringssl/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/security/boringssl/Makefile b/security/boringssl/Makefile index 1aef6804357..37cb455cce3 100644 --- a/security/boringssl/Makefile +++ b/security/boringssl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2018/08/22 09:46:17 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2018/09/23 18:39:22 bsiegert Exp $ DISTNAME= boringssl-20151230 PKGREVISION= 8 @@ -12,13 +12,20 @@ LICENSE= openssl WRKSRC= ${WRKDIR}/boringssl -BUILD_DEPENDS+= go>=1.4:../../lang/go +.include "../../lang/go/version.mk" + +BUILD_DEPENDS+= ${GO_PACKAGE_DEP} USE_TOOLS+= cmake perl USE_LANGUAGES+= c c++ AUTO_MKDIRS= yes +SUBST_CLASSES+= go +SUBST_STAGE.go= post-patch +SUBST_FILES.go= CMakeLists.txt +SUBST_SED.go= -e '/find_program.GO_EXECUTABLE/s,go,${GO},' + do-build: mkdir -p ${WRKSRC}/build cd ${WRKSRC}/build && cmake .. |