pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/boringssl Use correct versioned Go dependency...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7384e654e9d9
branches:  trunk
changeset: 385610:7384e654e9d9
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Sep 23 18:39:22 2018 +0000

description:
Use correct versioned Go dependency, subst go tool path.

diffstat:

 security/boringssl/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 34d74f75343e -r 7384e654e9d9 security/boringssl/Makefile
--- a/security/boringssl/Makefile       Sun Sep 23 18:37:39 2018 +0000
+++ b/security/boringssl/Makefile       Sun Sep 23 18:39:22 2018 +0000
@@ -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 @@
 
 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 ..



Home | Main Index | Thread Index | Old Index