summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
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.
2006-11-03Add package-install. For non-DESTDIR builds, package and package-installjoerg3-4/+31
are identical. For DESTDIR builds, the package is not installed to PREFIX as part of the build, so package-install does exactly that after package is done. Change bin-install to call package-install.
2006-11-03The Tru64 linker does not know -h ${soname}, only -soname ${soname}.rillig2-2/+12
Patch provided by Hrvoje Habjanic in http://mail-index.netbsd.org/pkgsrc-users/2006/11/02/0003.html
2006-11-02Removed some code duplication, which results in 120 lines less code.rillig1-147/+29
2006-11-02Adjusted the check-perms target to the recent update ofrillig1-11/+11
sysutils/checkperms. Regular files are now checked if they needlessly have the executable bit set.
2006-10-29Update to version 2006-05-10.23 from automake-1.10.wiz1-85/+116
2006-10-29Merge 2006-09-20 (local changes: only sh5 support).wiz1-58/+125
2006-10-29Merge 2006-07-02 (local changes: only sh5 support).wiz1-296/+337
2006-10-29Added a "see also" entry.rillig1-1/+4
2006-10-28Add graphicsmagick and imagemagick options, for ruby-RMagick.obache1-0/+2
2006-10-27add MASTER_SITE_GENTOO, from FreeBSDdrochner1-1/+57
cvs: ----------------------------------------------------------------------
2006-10-26Oops, spurious line in the output.rillig1-2/+1
2006-10-26Changed BUILD_MAKE_FLAGS and TEST_MAKE_FLAGS to be appended to therillig2-10/+48
common MAKE_FLAGS instead of overriding them, to align with the new definition of INSTALL_MAKE_FLAGS. The packages that override BUILD_MAKE_FLAGS don't have to be changed, since they prepended MAKE_FLAGS to BUILD_MAKE_FLAGS, except for less than five cases. In those cases, it may well have been unknown to the package author that MAKE_INSTALL_FLAGS had been an overriding variable instead of one whose value is just appended to something else. Some packages (postgresql, some compilers, Java environments, qcad) are using code copied from build.mk. These packages will have to be adjusted to the new variable definitions. To make this change easier, two new variables BUILD_MAKE_CMD and TEST_MAKE_CMD have been introduced that contain the complete command that makes up the call to make(1). This prevents further code duplication.
2006-10-26Converted the commands that output lists to make(1) loops instead ofrillig1-24/+14
passing the lists literally. This avoids calling printf(1) with only one argument, since POSIX and bash differ in the implementation.
2006-10-26Change INSTALL_MAKE_FLAGS to be _appended_ to MAKE_FLAGS when runningrillig1-3/+3
"make install". That way, packages don't have to say: INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS} foo=bar, instead it suffices to say INSTALL_MAKE_FLAGS+= foo=bar, which is also more appropriate since multiple files (Makefile, Makefile.common, options.mk, *.mk) don't need to care about whether INSTALL_MAKE_FLAGS already includes MAKE_FLAGS or not. Note: It is no longer possible to override MAKE_FLAGS completely. But except for some exotic platforms, the default value is empty anyway.