summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2018-09-23 19:55:04 +0000
committerbsiegert <bsiegert@pkgsrc.org>2018-09-23 19:55:04 +0000
commita8fbf9b16888bce4625f17ea34fbca9190a10d93 (patch)
tree88bbe309fed1391b8e84a9580bd6f6aee2976617 /net
parent563c2718dc09086f3470a85d2fb9b14fe6f78958 (diff)
downloadpkgsrc-a8fbf9b16888bce4625f17ea34fbca9190a10d93.tar.gz
Use correct versioned Go dependency.
Diffstat (limited to 'net')
-rw-r--r--net/libquic/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net/libquic/Makefile b/net/libquic/Makefile
index 4145d2604b2..3912c6f69dd 100644
--- a/net/libquic/Makefile
+++ b/net/libquic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2018/08/22 09:45:53 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2018/09/23 19:55:04 bsiegert Exp $
DISTNAME= libquic-0.0.3
PKGREVISION= 3
@@ -10,13 +10,17 @@ MAINTAINER= agc@NetBSD.org
COMMENT= Multiplexed stream transport over UDP
LICENSE= modified-bsd
-BUILD_DEPENDS+= go-[0-9]*:../../lang/go
+.include "../../lang/go/version.mk"
+BUILD_DEPENDS+= ${GO_PACKAGE_DEP}
-SUBST_CLASSES+= path
+SUBST_CLASSES+= path go
SUBST_STAGE.link= pre-configure
SUBST_MESSAGE.link= Fix paths
SUBST_FILES.link= src/base/base_paths_posix.cc
SUBST_SED.link= -e 's|@PREFIX@|'${PREFIX}'|'
+SUBST_STAGE.go= pre-configure
+SUBST_FILES.go= boringssl/CMakeLists.txt
+SUBST_SED.go= -e '/find_program.GO_EXECUTABLE/s,go,${GO},'
USE_LANGUAGES+= c c++
USE_TOOLS+= cmake gmake perl