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:           Sat Jun  3 14:26:36 UTC 2023

Modified Files:
        pkgsrc/mk: bsd.pkg.use.mk

Log Message:
bsd.pkg.use.mk: TOOL_DEPENDS, not BUILD_DEPENDS, for libtool-fortran.

But we need a cross-libtool-fortran for this to actually work in
cross compilation.

No functional change intended for native compilation, since
BUILD_DEPENDS and TOOL_DEPENDS have the same semantics there.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/mk/bsd.pkg.use.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.pkg.use.mk
diff -u pkgsrc/mk/bsd.pkg.use.mk:1.72 pkgsrc/mk/bsd.pkg.use.mk:1.73
--- pkgsrc/mk/bsd.pkg.use.mk:1.72       Tue Jun  7 10:04:25 2022
+++ pkgsrc/mk/bsd.pkg.use.mk    Sat Jun  3 14:26:36 2023
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.use.mk,v 1.72 2022/06/07 10:04:25 jperkin Exp $
+#      $NetBSD: bsd.pkg.use.mk,v 1.73 2023/06/03 14:26:36 riastradh Exp $
 #
 # Turn USE_* macros into proper depedency logic.  Included near the top of
 # bsd.pkg.mk, after bsd.prefs.mk.
@@ -86,7 +86,8 @@ PKG_LIBTOOL?=         ${LOCALBASE}/bin/libtool-
 PKG_SHLIBTOOL?=                ${LOCALBASE}/bin/shlibtool-fortran
 
 .  if defined(USE_LIBTOOL)
-BUILD_DEPENDS+=                libtool-fortran>=${_OPSYS_LIBTOOL_REQD:U${LIBTOOL_REQD}}:../../devel/libtool-fortran
+# XXX This really needs cross-libtool-fortran like cross-libtool-base.
+TOOL_DEPENDS+=         libtool-fortran>=${_OPSYS_LIBTOOL_REQD:U${LIBTOOL_REQD}}:../../devel/libtool-fortran
 .  endif
 .else
 .  if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])



Home | Main Index | Thread Index | Old Index