pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Fri Apr 12 19:58:04 UTC 2024

Modified Files:
        pkgsrc/mk: bsd.prefs.mk

Log Message:
bsd.prefs.mk: Set _CROSSDIR_SUFFIX under TOOLS_CROSS_COMPILE too.

This way, cross-libtool also gets a per-cross-platform workdir, so
you can share the same tree between multiple cross builds.

No change to native builds because the difference between
TOOLS_USE_CROSS_COMPILE and USE_CROSS_COMPILE only affects special
packages related to cross-builds, namely cross-libtool.


To generate a diff of this commit:
cvs rdiff -u -r1.445 -r1.446 pkgsrc/mk/bsd.prefs.mk

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

Modified files:

Index: pkgsrc/mk/bsd.prefs.mk
diff -u pkgsrc/mk/bsd.prefs.mk:1.445 pkgsrc/mk/bsd.prefs.mk:1.446
--- pkgsrc/mk/bsd.prefs.mk:1.445        Fri Apr 12 19:57:52 2024
+++ pkgsrc/mk/bsd.prefs.mk      Fri Apr 12 19:58:04 2024
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.445 2024/04/12 19:57:52 riastradh Exp $
+# $NetBSD: bsd.prefs.mk,v 1.446 2024/04/12 19:58:04 riastradh Exp $
 #
 # This file includes the mk.conf file, which contains the user settings.
 #
@@ -833,7 +833,7 @@ MAKEFLAGS+=         _PKGSRCDIR=${_PKGSRCDIR:Q}
 .endif
 PKGSRCDIR=             ${_PKGSRCDIR}
 
-.if ${USE_CROSS_COMPILE:tl} == "yes"
+.if ${TOOLS_USE_CROSS_COMPILE:tl} == "yes"
 _CROSSDIR_SUFFIX=      .${MACHINE_PLATFORM}
 .endif
 



Home | Main Index | Thread Index | Old Index