pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/boringssl



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Sep 23 18:39:23 UTC 2018

Modified Files:
        pkgsrc/security/boringssl: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/security/boringssl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/boringssl/Makefile
diff -u pkgsrc/security/boringssl/Makefile:1.10 pkgsrc/security/boringssl/Makefile:1.11
--- pkgsrc/security/boringssl/Makefile:1.10     Wed Aug 22 09:46:17 2018
+++ pkgsrc/security/boringssl/Makefile  Sun Sep 23 18:39:22 2018
@@ -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 ..



Home | Main Index | Thread Index | Old Index