pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libquic Use correct versioned Go dependency.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/912c5e257ae9
branches:  trunk
changeset: 313239:912c5e257ae9
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Sep 23 19:55:04 2018 +0000

description:
Use correct versioned Go dependency.

diffstat:

 net/libquic/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r cead49f86f7c -r 912c5e257ae9 net/libquic/Makefile
--- a/net/libquic/Makefile      Sun Sep 23 18:42:05 2018 +0000
+++ b/net/libquic/Makefile      Sun Sep 23 19:55:04 2018 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index