summaryrefslogtreecommitdiff
path: root/mk/patch/bsd.patch-vars.mk
AgeCommit message (Collapse)AuthorFilesLines
2008-06-09Wrap expansion of local patches inside LOCALPATCHES, given that it is undefinedsketch1-1/+3
by default. Previous behaviour would try to echo /<pkgpath> which leads to interesting behaviour when /net is an autofs map... Reduces runtime of mk/bulk/printdepends by 5.25 days on my test system.
2007-08-16Allow for emulation-specific patches for binary-only packages. Thejlam1-2/+2
patches are named emul-${EMUL_PLATFORM}-patch-* and are located in ${PATCHDIR}.
2007-08-13Reworked the way the needed tools for the "patch" phase are determined.rillig1-18/+11
2007-05-25When testing whether the patches/ directory exists or not, take intorillig1-1/+9
account that CVS usually leaves empty directories around. This fixes the bootstrapping after a "cvs update" without the -P option. The error message leading to it was: ===> running: (cd /home/p/src/devel/bmake && /home/p/pkg/bin/bmake -s -DPKG_PRESERVE MAKECONF=/home/p/work/mk.conf.example WRKOBJDIR=/home/p/work/pkgsrc bootstrap-register) ERROR: [resolve-dependencies] A package matching ``digest>=20010302'' should ERROR: be installed, but one cannot be found. Perhaps there is a ERROR: stale work directory for ../../pkgtools/digest?
2006-07-13* Add a new stage "bootstrap-depends" that happens before all otherjlam1-1/+6
stages, and that installs dependencies listed in BOOTSTRAP_DEPENDS. The bootstrap-depends step works just like the normal depends step and honors the value of DEPENDS_TARGET. It's now possible to add dependencies solely to facilitate fetching the distfiles, e.g. BOOTSTRAP_DEPENDS+= curl-[0-9]*:../../www/curl * Teach the tools framework about ":bootstrap" as a tools modifier which indicates the tool should be added as a dependency via BOOTSTRAP_DEPENDS. * Add "digest" to the tools framework. * Use USE_TOOLS+=digest:bootstrap to force pkgsrc to install digest before anything else. Get rid of unused "uptodate-digest" target and related digest version-checking code. * Finish the refactoring work: split checksum-related code out of bsd.pkg.mk and into pkgsrc/mk/checksum and replace the "checksum" target command list with a script that does all the real work. * Make DIGEST_ALGORITHMS and PATCH_DIGEST_ALGORITHM into private variables by prepending them with an underscore. Also, rename _PATCH_DIGEST_ALGORITHM to _PATCH_DIGEST_ALGORITHMS and adjust the makepatchsum target to allow that variable to contain a list of algorithms, all of which are used when creating the patch checksums for ${DISTINFO_FILE}.
2006-06-06Move some variable definitions out of bsd.prefs.mk and back intojlam1-5/+6
bsd.pkg.mk. They didn't actually need to be defined in bsd.prefs.mk, just somewhere before the "main" bsd.<phase>.mk files were included. This moves some conditional (?=) definitions back into bsd.pkg.mk so they won't conflict with any conditional definitions in package Makefiles. This should fix the "checksum" problems in lang/php-gd as noted here: http://mail-index.netbsd.org/pkgsrc-users/2006/06/05/0012.html where EXTRACT_SUFX had the wrong value due to the order in while *.mk files were included.
2006-06-06Refactor "patch" code into correspondingly named subdirectory ofjlam1-0/+44
pkgsrc/mk. Also get rid of the recursive make for the "patch" target. This basically merges the "patch" phase into the "tools" phase. There should eventually be a standalone script that can be used to verify checksums listed in distinfo that should be used instead of the roll-your-own code in the do-pkgsrc-patch target.