pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/fossil



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Wed Jun 14 10:29:33 UTC 2023

Modified Files:
        pkgsrc/devel/fossil: Makefile

Log Message:
devel/fossil: Set CC_FOR_BUILD when cross-compiling.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/devel/fossil/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/fossil/Makefile
diff -u pkgsrc/devel/fossil/Makefile:1.79 pkgsrc/devel/fossil/Makefile:1.80
--- pkgsrc/devel/fossil/Makefile:1.79   Wed Apr 19 08:09:40 2023
+++ pkgsrc/devel/fossil/Makefile        Wed Jun 14 10:29:33 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2023/04/19 08:09:40 adam Exp $
+# $NetBSD: Makefile,v 1.80 2023/06/14 10:29:33 riastradh Exp $
 
 DISTNAME=      fossil-src-2.21
 PKGNAME=       ${DISTNAME:S/-src//}
@@ -19,6 +19,12 @@ INSTALLATION_DIRS+=  bin ${PKGMANDIR}/man
 
 LDFLAGS.Darwin+=       -liconv
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${USE_CROSS_COMPILE:U:tl} == "yes"
+CONFIGURE_ENV+=                CC_FOR_BUILD=${NATIVE_CC:Q}
+.endif
+
 .include "options.mk"
 
 pre-configure:



Home | Main Index | Thread Index | Old Index