summaryrefslogtreecommitdiff
path: root/mk/pkg-build-options.mk
AgeCommit message (Collapse)AuthorFilesLines
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-6/+19
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2007-10-13Fix the .include lines so that make looks in the right place first.dsl1-2/+2
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-10-01Some useful keywords for "bmake help".rillig1-1/+3
2007-08-11Reverted everything that had not been mentioned in the previous commitrillig1-22/+1
message. Related to PR 36588.
2007-08-11pkg_info -Q does not print a newline if a variable isn't defined at allrillig1-1/+23
in the installed package's +BUILD_INFO. Therefore, an empty line is printed in advance to avoid a warning by make(1). Fixes PR 36588.
2007-05-07If a package is already installed, the PKG_OPTIONS of the installedrillig1-6/+6
package is returned rather than querying the source package. First, this is more correct, and second, it greatly speeds up pkgsrc, especially when many packages are already installed.
2007-04-10Fixed typo in the comment.rillig1-3/+3
2007-03-18Added a procedure to determine the build options of a package. This filerillig1-0/+39
can be used instead of writing the same code in every package.