summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2006-11-10Provided the usual header comment.rillig1-10/+20
2006-11-10Fixed the warning from GNU awk that in strings, \$ is the same as arillig1-2/+2
plain $.
2006-11-10Refined the pattern for lines containing bad macros. White-space isrillig1-2/+2
allowed between the "#" and the "define", and the value must be of the form "${varname}/...", that is, starting with a double quote, followed by "${" and a variable name, and directly behind the closing brace must be a slash. This should catch most false positives while still being useful.
2006-11-09Added documentation.rillig1-8/+26
2006-11-09This is also an FAQ of autoconf, so provide a link to there.rillig1-1/+4
2006-11-09Documented the ksh-compatible form of the SKIP_FILTER.rillig1-2/+4
2006-11-09Added a little comment.rillig1-1/+9
The program now exits with the correct exit status in case of errors.
2006-11-09Greatly simplified the code and added documentation.rillig1-32/+31
2006-11-09Fixed the SKIP_FILTER command so that NetBSD's ksh can handle it as well.rillig2-5/+7
2006-11-09Rewrote check-portability in awk instead of shell, since the shell has arillig4-78/+147
huge performance problem: When reading files, it calls read(2) for every single byte. awk instead reads a whole line at a time. For the lang/php5 package, the execution time changed from (7.8 real 4.5 user 3.1 sys) to (1.6 real 1.5 user 0.4 sys).
2006-11-09Added a function cs_explain() to check-subr.sh that prints anrillig3-6/+51
explanation for an error message, nicely formatted. Added explanations for the checks in check-portability.sh.
2006-11-09Added another sentence that explains how to disable this check forrillig1-7/+10
individual files.
2006-11-09Added an explanation how to fix the errors reported by this check.rillig1-1/+31
2006-11-09Made the code simpler.rillig1-8/+4
2006-11-09Moved the portability checks from the configure/ directory to checks/,rillig8-57/+219
since according to the comment in check/bsd.check.mk, they belong there. Added a new check for all C and C++ header files to make sure they don't contain strings like ${prefix} or ${exec_prefix}, which is currently a problem with sysutils/dbus and has been noticed in PR 35019. This check is disabled by default since I don't know anything about possible false positives, but I plan to enable it for PKG_DEVELOPERs after some testing. Added two names for hooks that are placed in the configure and in the build phase. Now the checks look more like becoming something one could call a framework, sharing a common structure and a documented interface.
2006-11-09In the status and error messages, say _which_ lock is being held byrillig1-3/+3
another process. It's a little more verbose now, but it helps understanding what goes on.
2006-11-09Fixed two scripts so that they also run when "set -u" is in effect.rillig2-4/+5
2006-11-09Clarify _who_ is supposed to set the SUBST_* variables.rillig1-2/+2
2006-11-09Added BUILD_DEFS_EFFECTS.rillig1-2/+2
2006-11-08mail/clamav: rename VIRUSDBDIR to CLAMAV_DBDIR and make it user-settable.ghen1-1/+6
Default value is kept but now set in mk/defaults/mk.conf.
2006-11-07Just make the PREFIX with INSTALL_DATA_DIR. Drop the conditional andjoerg1-2/+2
don't use mkdir, as the latter uses the group permissions of the parent directory under BSDs, resulting in group leaks for USE_DESTDIR=yes. Discussed with agc@.
2006-11-06Also add bin/nawk to the tarred-up files.tv1-3/+4
2006-11-06Add lang/nawk and sysutils/install-sh to the "don't blow away" packagetv1-3/+3
list for bulk builds. (Revert previous on bootstrap; the PKG_PRESERVE hack didn't work as expected.)
2006-11-06Use the shell "test" builtin. Not only is it faster, but /bin/test istv1-2/+2
wrong about some of its results when using implied privileges (e.g., an account in group Administrators where the directory is writable by Users).
2006-11-06Move include of mk/x11.b3.mk into the non-openmotif, non-lesstif case.joerg1-2/+3
Assume those two can handle their own dependencies.
2006-11-06Add case for modular Xorg.joerg1-1/+4
2006-11-05Add an entry for anope-dbencryptionadrianp1-0/+1
2006-11-05Some people really try to run pkgsrc's make with -j5 options. Since thatrillig1-1/+5
is not supported at all by pkgsrc, print an error message in that case.
2006-11-05Code cleanup; removed a redundant comment.rillig1-5/+2
2006-11-05Use REAL_ROOT_USER for configuration dirs.joerg1-2/+2
2006-11-05Rename _INSTALL_ROOT_USER to REAL_ROOT_USER. Use it as default forjoerg4-11/+11
SETUID_ROOT_PERMS.
2006-11-05RC scripts should be installed relative to DESTDIR as well.joerg1-3/+3
2006-11-05Look into DESTDIR when checking for WRKDIR references.joerg1-2/+2
2006-11-05Special case LOCALBASE before X11BASE, as they can be identical injoerg1-1/+2
the case of modular Xorg and the latter is more specific.
2006-11-05DOCOWN and DOCGRP should be unprivileged as well.joerg1-1/+3
2006-11-05Add an alternative version of bsd.prefs.mk. make(1) processing ofjoerg1-0/+8
the fullly conditionalised bsd.prefs.mk still needs a considerable amount of time and moving the include guard out kills most of that. Preliminary tests with renaming bsd.prefs.mk and using the same logic to point to the real files show 5%-10% reduced run time for "make show-options" in x11/kdebase3 and no measurable regression in simpler places. This versions allows incremental conversion of the use in buildlink3.mk. Some care should be used in mk/ itself, as e.g. bsd.pkg.mk is included from first level hierachies as well.
2006-11-05Add a dsecription for XML supportadrianp1-0/+1
2006-11-05Normalized the way test(1) is used. Since I have no idea whether ${TEST}rillig2-9/+9
or [] is better, I have used [ to keep the code shorter. Noticed by wiz.
2006-11-05The config.guess, config.sub and libtool files should also berillig2-8/+8
overwritten when the package-provided files are (possibly dead) symlinks. Since on Mac OS X, ls(1) does not return the status I expected, I investigated a little in the available options of test(1), and found that the "-h" option should be quite portable. So let's try that instead. This fixes PR 34865.
2006-11-04Added BUILD_DEFS_EFFECTS.rillig4-23/+28
2006-11-04Added some more formats that are needed to recognize SMART_MESSAGES inrillig1-2/+3
mk/defaults/mk.conf.
2006-11-04mk/defaults/mk.conf is an important source for online help. It justrillig1-2/+2
doesn't match the *.mk pattern, and that's why it had been excluded up to now, accidentally.
2006-11-04Since PKG_JVM is not user-settable, it must not be added to BUILD_DEFS.rillig1-2/+3
For that purpose, BUILD_DEFS_EFFECTS has just been introduced.
2006-11-04There is a difference between the variables that can be configured byrillig1-14/+29
the user to affect how packages are built (BUILD_DEFS) and the effects that those variables have (BUILD_DEFS_EFFECTS). The latter variable has been introduced to clearly separate these two issues. While here, reduced the indentation of the directives a little bit. One visible change is that "make build-defs-message" will always show the message when called directly. Before, it had been shown only once, which makes debugging a bit more difficult.
2006-11-04Made the code that selects the possible Java VMs much simpler.rillig1-18/+9
2006-11-04Brought the comment into "pkgsrc comment normal form".rillig1-17/+33
2006-11-04When a package sets INSTALLATION_DIRS_FROM_PLIST to "yes", it does notrillig2-2/+45
need to specify INSTALLATION_DIRS itself. Instead, the list is generated from the static PLIST files. Like for INSTALLATION_DIRS, mtree is disabled when this variable is set.
2006-11-03Add mkfontscale.joerg1-1/+9
2006-11-03Fix thinko: INSTALLATION_DIRS entries don't have ${DESTDIR} as prefix,joerg1-3/+3
just ${PREFIX}.
2006-11-03Don't reset the "installed" state when using DESTDIR operations onjoerg1-1/+3
deinstall. The semantic of deinstall should stay as "remove the installed version" and the old behaviour force a repackaging.