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: riastradh
Date: Fri Jun 9 23:51:52 UTC 2023
Modified Files:
pkgsrc/devel/git-base: Makefile
Log Message:
devel/git-base: Make this cross-compile on NetBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 pkgsrc/devel/git-base/Makefile
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.105 pkgsrc/devel/git-base/Makefile:1.106
--- pkgsrc/devel/git-base/Makefile:1.105 Fri Jun 9 12:05:14 2023
+++ pkgsrc/devel/git-base/Makefile Fri Jun 9 23:51:52 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.105 2023/06/09 12:05:14 riastradh Exp $
+# $NetBSD: Makefile,v 1.106 2023/06/09 23:51:52 riastradh Exp $
PKGREVISION= 1
.include "../../devel/git/Makefile.common"
@@ -72,6 +72,16 @@ SUBST_VARS.paths= PREFIX
.include "../../mk/bsd.prefs.mk"
+.if ${USE_CROSS_COMPILE:U:tl} == "yes"
+CONFIGURE_ENV.NetBSD+= ac_cv_iconv_omits_bom=no
+CONFIGURE_ENV.NetBSD+= ac_cv_fread_reads_directories=yes
+CONFIGURE_ENV.NetBSD+= ac_cv_snprintf_returns_bogus=no
+# Needed to skip calling out to curl-config, which we can't do when
+# cross-compiling. XXX Consider teaching curl's buildlink3.mk to set
+# BUILDLINK_LIBS.curl=-lcurl so we can use it here.
+MAKE_ENV+= CURL_LDFLAGS=-lcurl
+.endif
+
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" || ${OPSYS} == "HPUX" || ${OPSYS} == "QNX" || ${OPSYS} == "UnixWare"
SUBST_CLASSES+= fix-cd-P
SUBST_FILES.fix-cd-P= t/test-lib.sh
Home |
Main Index |
Thread Index |
Old Index