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:   dholland
Date:           Thu Jan  1 06:06:06 UTC 2015

Modified Files:
        pkgsrc/mk: bsd.pkg.mk bsd.prefs.mk
        pkgsrc/mk/help: notonly.help
        pkgsrc/mk/misc: can-be-built-here.mk

Log Message:
Add support for BROKEN_ON_PLATFORM and BROKEN_EXCEPT_ON_PLATFORM, as per
discussion on tech-pkg.

BROKEN_ON_PLATFORM and NOT_FOR_PLATFORM are the same, except that
(now) BROKEN_ON_PLATFORM sets PKG_FAIL_REASON and NOT_FOR_PLATFORM
sets PKG_SKIP_REASON. BROKEN_EXCEPT_FOR_PLATFORM and ONLY_FOR_PLATFORM
correspond in the same way.

The idea is that going forward we will distinguish unbuildable
packages that theoretically ought to be fixed (these are BROKEN) from
packages where it doesn't make sense to build (these are NOT_FOR)...
examples of the former include most non-64-bit-clean packges; examples
of the latter include OS-specific language bindings.

A general review of the uses of NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM
(converting many of them to BROKEN...) is coming up.

Similarly, a general review of the uses of PKG_FAIL_REASON and
PKG_SKIP_REASON is coming up.

For this to become useful, pbulk needs to be taught to report failing
and skipped packages differently - the idea is that failing packages
should be reported up front and skipped packages don't need to be. This
has not been done yet, but one set of things at a time...


To generate a diff of this commit:
cvs rdiff -u -r1.2007 -r1.2008 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -u -r1.353 -r1.354 pkgsrc/mk/bsd.prefs.mk
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mk/help/notonly.help
cvs rdiff -u -r1.7 -r1.8 pkgsrc/mk/misc/can-be-built-here.mk

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




Home | Main Index | Thread Index | Old Index