summaryrefslogtreecommitdiff
path: root/mk/misc
AgeCommit message (Collapse)AuthorFilesLines
2015-01-30Uniq BUILD_DEFS and BUILD_DEFS_EFFECTS before printing.jperkin1-3/+3
2015-01-01Add support for BROKEN_ON_PLATFORM and BROKEN_EXCEPT_ON_PLATFORM, as perdholland1-1/+27
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...
2014-12-30Remove pkg_views support, second part: infrastructure.wiz1-12/+1
2014-06-02Remove old bulk build code. Use pbulk.wiz1-8/+1
2014-02-22Use ${NETBSD_LOGIN_NAME} for ssh.obache1-3/+4
2014-02-20Add upload-distfiles target for PKG_DEVELOPER, for uploading missing distfilesobache1-2/+50
to our backup ftp server.
2013-08-31Small grammar fixes in the comment.rillig1-7/+8
2013-06-07Move show-depends-options again, to be worked form non-option packages.obache1-1/+12
2013-04-12Allow running on systems where pkg_admin is not in PATHjoerg1-2/+2
2013-02-10Experimental support of manifest files for Windows UAC.obache2-0/+53
For Windows Vista or later, executable files including special keywords (install, update, patch, and so on) in its name are expected as requireing privileged permissions by default (UAC). If not, it must be specified with manifest file, or it will be failed to execute as "Permission denied".
2011-11-13Use first entry of CATEGORIES as default CATEGORY.joerg1-1/+2
2011-11-13If importing into an existing directory, remove the content first.joerg1-1/+11
2011-11-13Allow empty FROM to actually work. Allow importing from the targetjoerg1-7/+5
location in pkgsrc, it is after all the natural place for testing new imports. Don't try to remove a file named after the import message, it won't exist. XXX Needs more work for the second case to remove the files before XXX running cvs up
2011-11-13Don't bail out with parse error if _EXPERIMENTAL isn't set.joerg1-2/+2
2011-09-15Update description for cce, from Snader_LB.wiz1-2/+2
2011-09-08Introduce PKGSRC_SETENV, defaulting to SETENV. Can be set to ${SETENV} -iabs1-2/+2
to santise environment
2009-08-23Add USE_NETBSD_REPO option to force make cce and friends to use thejoerg1-5/+15
main repository. Very useful when using a local copy of the repository for normal operation.
2009-08-21Make cce depend on todo-entry-remove as well.wiz1-2/+2
2009-08-21When making an entry to the CHANGES-* file using 'make changes-entry',wiz1-10/+22
the target now automatically also removes any TODO entries for the package that was updated. Script improved based on version by dholland; further suggestions by gdt and joerg.
2009-07-28Documented the trap into which I had just fallen.rillig1-1/+8
2009-07-26Added an experimental target "import" that makes it easier to importrillig1-0/+108
packages from pkgsrc-wip and other sources.
2008-11-19Documented BUILD_DEFS and BUILD_DEFS_EFFECTS.rillig1-1/+16
2008-11-05typorillig1-2/+2
2008-11-05More keywords for "bmake help".rillig1-1/+3
2008-11-05Clarified the difference between "Renamed" and "Moved".rillig1-9/+12
Rewrote a bit of code so that CTYPE=mv and CTYPE=ren work as intended.
2008-10-20... and added a few more keywords.rillig1-1/+4
2008-10-20Reformatted the comments so that "bmake help" recognizes them.rillig1-2/+3
2008-05-26Add support for NOT_FOR_BULK_PLATFORM, which works similartnn1-1/+13
to NOT_FOR_PLATFORM, but only active when BATCH is defined. Can be used to mark packages that are known to stall the bulk builds on certain platforms.
2008-04-30Relax the values that CTYPE can take for changes-entry and relatedjlam1-5/+5
targets. Values are now case-insensitive, and the expanded set of values that can be used are: Added => add* Updated => up* Removed => rem*, rm Renamed, Moved => ren*, mov*, mv This changes is purely for usability reasons -- I have trouble remembering the exact values, and I don't like to type with capitalization unless.
2007-11-29Add comment noting that support for OLDNAME in Removed case is needed.gdt1-1/+2
2007-10-16Remove some legacy support after branching 2007Q3.wiz1-4/+1
2007-10-13Fix the .include lines so that make looks in the right place first.dsl3-9/+9
Remember .include "foo.mk" is looked for (first) in the directory that contains the makefile being processed (like in C), so remove all the ${.PARSEDIR} and ../ sequences that just cause grief.
2007-09-12Explained the usr, pkg and sys that appears in the output.rillig1-3/+32
2007-09-09Add notes of things that need fixing:gdt1-1/+8
# XXX Accumulate commit message during each operation, so that a final # commit operation will have a sensible message with all of the # previous operations. # XXX Fail if uid is 0, or perhaps != CVS meta files owner, to catch # the case of invoking these targets as root.
2007-09-07Convert packages that test and use USE_INET6 to use the options frameworkjlam1-2/+2
and to support the "inet6" option instead. Remaining usage of USE_INET6 was solely for the benefit of the scripts that generate the README.html files. Replace: BUILD_DEFS+= USE_INET6 with BUILD_DEFS+= IPV6_READY and teach the README-generation tools to look for that instead. This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code to continue to support USE_INET6 for pkgsrc-wip until it has been nuked from there as well.
2007-08-13When PKG_DEBUG_LEVEL is 2 or more, the make target is printed for everyrillig1-2/+2
shell command that is run via the RUN macro. This makes the output a little more verbose, but when you have the need to set PKG_DEBUG_LEVEL that high, you can probably need the extra help you get from this change.
2007-08-13Added mk/misc/category.mk, which contains the definitions that are onlyrillig1-0/+45
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is also relevant for the top-level directory. Adjusted the category Makefiles.
2007-08-13Moved the stuff that is common to all directories of pkgsrc into its ownrillig1-0/+48
file. Now "make help" can be called from the top-level directory, avoiding to parse lots of buildlink3.mk files just to get some help.
2007-08-02Add wiz's request, add a changes-entry-noupdate that has the oldgdt1-9/+26
behavior of just appending to the file without cvs update (or cvs edit if not writable), for the convenience of those committing multiple package updates at once. To implement this, split the update/cat/commit into elementary targets and compose them to form the user-exposed targets, spiff up the comments, and rationalize .PHONY usage.
2007-07-28Rationalize changes-entry and commit-changes-entry.gdt1-13/+11
changes-entry now does cvs update (and cvs edit if needed), and adds the line. This target will behave the same way (with extra CVS traffic) if the file is up to date, and will be omre useful if CHANGES-YYYY is not up to date. commit-changes-entry depends on changes-entry and also commits. This target has no behavior changes. Rename _CCE_FOO variables to PKGSRC_CHANGES_FOO, and merge with existing varables. We may need a changes-entry-no-update, or a new name for what changes-entry does now. Given how infrequently CHANGES-YYYY is up to date when I want to add, I believe the new behavior will be welcome to almost everyone.
2007-07-21In cce, run cvs edit if the file is not writable. This occurs withgdt1-4/+7
CVSREAD=t, and should result in unchanged behavior with writable files. Split _CCE_CHANGES definition into _CCE_CHANGES_{DIR/BASE} to facilitate above.
2007-07-20Added code to display warnings at package build time. Among others, thisrillig1-0/+19
will be used for the licenses.
2007-05-07When looking for help for _vargroups, the show-all target will be shown.rillig1-2/+2
2007-04-01Support "Removed" again. Fix typo in comment.wiz1-2/+4
2007-03-16The single-letter labels (U, P, S) could easily be confused with the CVSrillig1-7/+7
status (there is also U and P), so it is changed to three-letter labels (usr, pkg, sys).
2007-03-16After the quick fix from some minutes ago, here is the better solution.rillig1-8/+14
Just don't evaluate variables at load-time, but at run-time.
2007-03-16Don't evaluate variables unless there's reason to do. This fixes warningrillig1-1/+3
messages like: cd ${WRKOBJDIR}/x11/kdebase3/work/kdebase-3.5.6 && echo "__dummy-ent ... cd: can't cd to ${WRKOBJDIR}/x11/kdelibs3/work/kdelibs-3.5.6
2007-03-15For all those who are interested in the inner workings of pkgsrc, thererillig1-1/+37
is a new target "show-all" that fits to the existing "debug", "show-tools", "show-vars" targets. It prints a list of the variables that make up the public interface to pkgsrc. Running this target is especially useful if you want to do some things, you know that they must have been implemented but you don't know what it is called. It also shows the "class" of a variable (user-defined, package-defined, system-defined).
2007-03-14Forgot to disable the "echo-only" mode in the last commit.rillig1-2/+2
Now "make cce" really commits.
2007-03-14Added the target "commit-changes-entry", or "cce", which adds a singlerillig1-13/+45
package change to the CHANGES file and commits it. Added error checking to the changes-entry target.