summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2007-03-20Fix check-interpreter when using USE_DESTDIR. From Klaus Heinz onjoerg1-3/+3
tech-pkg.
2007-03-19When building the dependency lists, handle bootstrap dependencies likejoerg1-2/+2
normal build dependencies. That way digest can be recorded correctly.
2007-03-18Documented MAKE_JOBS_SAFE.rillig1-1/+7
2007-03-18Typo.rillig1-2/+2
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.
2007-03-17XXX: "make replace" should be one transaction.rillig1-1/+6
2007-03-17Check for /usr/bin/sleep. I have had this in my pkgsrc for a long time.reed1-1/+5
According to the Filesystem Hierarchy Standard for Linux, sleep is not listed as a required command (or symlink) in /bin.
2007-03-16Typo.rillig1-2/+2
2007-03-16For the package pkgtools/shlock, it is not possbile to provide locking.rillig1-2/+3
2007-03-16Added the variable declarations for the "show-all" target.rillig5-5/+25
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-16Don't check files in ${PACKAGES} and ${DISTDIR}.rillig1-1/+5
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-15Check for /bin/bzcat. Noticed on Ubuntu Linux over a week ago.reed1-1/+3
(Could check for /bin/bzip2 also, but I didn't need that.)
2007-03-15For all those who are interested in the inner workings of pkgsrc, thererillig9-9/+107
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-15_COMPILER_LD_FLAG is only used in this file, and no other compiler filerillig1-5/+2
defines this variable, so it doesn't hurt to remove it.
2007-03-15Made show-depends a flavor-specific target.rillig3-5/+14
2007-03-15wrapper_type can be IMAKE, too.rillig1-2/+2
2007-03-15Moved the definition of CONFIG_SHELL from gnu-configure.mk to configure.mk.rillig2-6/+11
Improved the documentation.
2007-03-15If the "Internal error #1" happens again, it will at least provide arillig1-2/+2
hint where to look for the cause of the message. Without that, it is next to useless.
2007-03-15The CHECK_WRKREF variable has changed type: It is now a list ofrillig1-16/+18
directory aliases. That makes it possible to check for references into TOOLS_DIR and WRKSRC, but to leave out the other infrastructure directories. On IRIX, x11/gtk2 failed to build because of an unknown library -lharfbuzz. That library turned out to be an internal dependency of graphics/cairo, which had made it into the installed libpangocairo.la file. With this change, that bug would have been caught earlier.
2007-03-14Forgot to disable the "echo-only" mode in the last commit.rillig1-2/+2
Now "make cce" really commits.
2007-03-14Use the new -T option of pkg_crate, if pkg_install is new enough.joerg2-2/+16
This means that all build dependencies are recorded in the package as well, making it much easier to decide whether a dependency changed the package should be rebuild in a bulk build. This would have also been useful for users wanting to switch to modular Xorg to decide what used x11-links. OK agc@
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-13Added keywords for SPECIAL_PERMS, so it is found byrillig1-1/+3
"bmake help topic=setuid".
2007-03-12Don't handle Perl's "DynaLoader.a" specially under Mac OS X. It is nottron1-3/+5
necessary and doing so causes build problems. This fixes PR pkg/35990.
2007-03-12Sync authoritive instance of config.guess and config.sub with thejoerg2-19/+31
upstream versions.
2007-03-09Removed unused variables. Note that _ALIASES.* could only be removedrillig1-10/+2
because all the alias names are covered by _WRAP_ALIASES.*. Slowly this file becomes as short and simple as it should have always been.
2007-03-09Removed the creation of the extra wrapper directory WRKDIR/.sunpro andrillig1-45/+3
everything that is related to it. The wrappers in WRKDIR/.wrapper now call the compilers in SUNWSPROBASE directly. The aliases that have been provided had never been called because WRKDIR/.wrapper was earlier in the PATH and already called the canonical compiler (for example, .wrapper/gcc called .sunpro/cc, not .sunpro/gcc). Also removed the comments related to f2c. We have a version control system to keep outdated code, so why keep it in the current source?
2007-03-09Rewrote the file so that it is easier to see what needs to be done whenrillig1-26/+31
adding a language.
2007-03-09Fixed a quoting bug that occurred when PKG_DEVELOPER=#yes,rillig1-2/+2
CHECK_SHLIBS=yes and some shared library doesn't have the execute bit set.
2007-03-09Fixed pkglint warnings.rillig3-23/+24
2007-03-09Replaced PKG_SILENT/PKG_DEBUG with RUN.rillig2-10/+7
2007-03-09Replaced the remaining PKG_SILENT/PKG_DEBUG pairs with RUN.rillig1-6/+9
2007-03-09Fixed the quoting in INSTALLATION_DIRS and install-dirs-from-PLIST.rillig1-33/+32
In install-dirs-from-PLIST, all directories that don't contain an '@' or '$' character are automatically installed.
2007-03-09Added documentation and error checking.rillig1-8/+22
2007-03-09The mk/*/*/*.mk files are also interesting.rillig2-3/+11
Don't print the make target definition in the help text.
2007-03-09Added MAKEFLAGS to the call to RECURSIVE_MAKE.rillig1-2/+2
2007-03-09Added MAKEFLAGS to the RECURSIVE_MAKE call. Almost all other callsrillig1-2/+3
already have it.
2007-03-09Renamed some more flavor-specific targets to have the form _flavor-*.rillig11-147/+81
Split check-vulnerable into a general an a flavor-specific part, for consistence with all the other targets.
2007-03-08Better documentation.rillig1-7/+8
2007-03-08Reformatted the documentation.rillig1-14/+19
2007-03-08Renamed package-warnings to _package-warnings, since it is a privaterillig1-15/+17
target.
2007-03-08Moved the build-env target from bsd.pkg.debug.mk to build/build.mk. Itrillig2-12/+14
is no longer available to packages that set NO_BUILD. Added the variable BUILD_ENV_SHELL, since I prefer a comfortable shell over /bin/sh for interactive work.
2007-03-08On IRIX, <standards.h> needs to be included before <sys/endian.h>.rillig1-2/+5
2007-03-08Renamed replace-pkg to _flavor-replace and undo-replace-pkg torillig3-23/+24
_flavor-undo-replace. The leading underscore makes it obvious that these targets are private, which saves redundant comments.
2007-03-08Added headings.rillig1-5/+15
2007-03-08Documented how to use checkperms in bulk builds.rillig1-1/+5
2007-03-08Don't create ${.TARGET} unless no further error can occur. The make(1)rillig1-10/+11
manual page says that ${.TARGET} is removed automatically if make is interrupted, but it is _not_ removed if a command fails. This case may happen after an incomplete CVS update (I forgot the -d option). When running "make depends" for the first time, an error message is printed. When running it for the second time, an empty .depends file existed, so the build continued.