pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/git-base
Module Name: pkgsrc
Committed By: wiz
Date: Wed Jul 1 21:28:37 UTC 2026
Modified Files:
pkgsrc/devel/git-base: Makefile options.mk
Log Message:
git-base: add default-off rust option
To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 pkgsrc/devel/git-base/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/git-base/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/git-base/Makefile
diff -u pkgsrc/devel/git-base/Makefile:1.137 pkgsrc/devel/git-base/Makefile:1.138
--- pkgsrc/devel/git-base/Makefile:1.137 Tue Jun 30 20:19:42 2026
+++ pkgsrc/devel/git-base/Makefile Wed Jul 1 21:28:37 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.137 2026/06/30 20:19:42 adam Exp $
+# $NetBSD: Makefile,v 1.138 2026/07/01 21:28:37 wiz Exp $
.include "../../devel/git/Makefile.common"
@@ -66,7 +66,6 @@ MAKE_FLAGS+= INSTALL=${INSTALL:Q}
MAKE_FLAGS+= CC_LD_DYNPATH=${COMPILER_RPATH_FLAG}
MAKE_ENV+= NO_GITWEB=1
MAKE_ENV+= NO_PERL=1
-MAKE_ENV+= NO_RUST=1
GIT_TEMPLATE_INSTDIR= ${EGDIR}/${GIT_TEMPLATEDIR}
MAKE_ENV+= GIT_TEMPLATE_INSTDIR=${GIT_TEMPLATE_INSTDIR}
Index: pkgsrc/devel/git-base/options.mk
diff -u pkgsrc/devel/git-base/options.mk:1.8 pkgsrc/devel/git-base/options.mk:1.9
--- pkgsrc/devel/git-base/options.mk:1.8 Tue Jun 30 20:19:42 2026
+++ pkgsrc/devel/git-base/options.mk Wed Jul 1 21:28:37 2026
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.8 2026/06/30 20:19:42 adam Exp $
+# $NetBSD: options.mk,v 1.9 2026/07/01 21:28:37 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.git
-PKG_SUPPORTED_OPTIONS= openssl
+PKG_SUPPORTED_OPTIONS= openssl rust
.if ${OPSYS} == "Darwin"
PKG_SUPPORTED_OPTIONS+= apple-common-crypto
.endif
@@ -22,3 +22,10 @@ CONFIGURE_ARGS+= --with-openssl=${SSLBAS
CONFIGURE_ARGS+= --without-openssl
. endif
.endif
+
+.if !empty(PKG_OPTIONS:Mrust)
+MAKE_ENV+= WITH_RUST=YesPlease
+.include "../../lang/rust/buildlink3.mk"
+.else
+MAKE_ENV+= NO_RUST=1
+.endif
Home |
Main Index |
Thread Index |
Old Index