summaryrefslogtreecommitdiff
path: root/mk/misc
AgeCommit message (Collapse)AuthorFilesLines
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.
2007-03-08Reformatted the documentation.rillig1-14/+19
2007-02-10Added a check for PKG_INSTALLATION_TYPES.rillig1-6/+15
2007-02-06White-space and comment improvements.rillig1-2/+5
2007-01-07The tool definitions must come before including bsd.prefs.mk. Pointedrillig1-15/+2
out by wiz.
2007-01-06Moved the make targets from the top-level Makefile to their own file,rillig1-0/+194
mk/misc/toplevel.mk. Added a bit of documentation.
2007-01-02Moved the show-tools target to misc/show.mk.rillig2-0/+111
Moved the changes-entry target to misc/developer.mk. To save some time, that file is only included when PKG_DEVELOPER is defined. Moved the build-defs-message target to misc/show.mk and renamed it to show-build-defs, since almost all other *-message targets just print a single line.
2006-12-03Ignore ccache and distcc in PKGSRC_COMPILER for the check forrillig1-2/+4
ONLY_FOR_COMPILER. For the opposite test, using NOT_FOR_COMPILER, they may still be specified. Fixes PR 35173.
2006-12-03Readded the check for NO_SKIP and documented that variable.rillig1-2/+12
2006-11-26Moved the code that checks for PKG_FAIL_REASON and PKG_SKIP reason fromrillig1-0/+136
the internal/ directory to misc/, since it is not really internal to pkgsrc. Fixed the case where PKG_SKIP_REASON was not noticed by the bulk builds. Added the NOT_FOR_UNPRIVILEGED and ONLY_FOR_UNPRIVILEGED variables.