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/21b2141d779d
branches:  trunk
changeset: 313235:21b2141d779d
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 ae5edc6823cd -r 21b2141d779d 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