summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
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.
2006-10-26Replaced a .sinclude with .include to catch errors when X11_TYPE is notrillig3-6/+6
one of "native" or "xorg". Failing with an error message in the right file is better than failing somewhere else with a completely obscure error message.
2006-10-26PKG_DEVELOPER is a defined check; it doesn't need to equal the string "yes".tv1-2/+2
2006-10-26-E is an alias for --export-dynamic, which the Solaris linker does notrillig1-2/+2
understand, too.
2006-10-25Tried to document some of the *_ENV variables. There are still many TODOrillig1-0/+66
and XXX tags.
2006-10-25The file directories.mk provides a short help on some directories thatrillig1-0/+41
are important to pkgsrc.
2006-10-24Add memtest+ 1.65 to pkgsrc, with options for serial console and .iso generationsmb1-0/+2
2006-10-23Added the CHECK_PORTABILITY_SKIP variable that may be defined by packagesrillig2-7/+18
to exclude some files from the portability checks.
2006-10-23Moved the help system into its own subdirectory. Extracted the AWKrillig4-92/+113
program into its own file, since that way, one can add comments to the code. For convenience, keyword search is case insensitive.
2006-10-23Added a file describing the DISTNAME variable, so "make helprillig1-0/+11
topic=DISTNAME" produces useful results. And no, I didn't start the PKGNAME vs. DISTNAME discussion here.
2006-10-22Added INCSDIR and LIBDIR to BSD_MAKE_ENV.rillig1-2/+5
2006-10-22The new variable BSD_MAKE_ENV defines BINOWN, BINGRP, etc.rillig1-1/+7
2006-10-22Added a variable RUN (no leading underscore) as abbreviation forrillig1-1/+8
${_PKG_SILENT}${_PKG_DEBUG}, so that this feature can be used by packages, too.
2006-10-22Removed setargs_from_cmd, as it is unused.rillig1-12/+1
2006-10-22Added header comments.rillig7-7/+53
2006-10-21If ${WRKSRC} does not yet exist in the configure phase, skip therillig1-1/+2
portability checks. Needed for the emulators/compat?? packages.
2006-10-21The "scan" program does not modify "$@".rillig1-7/+2
2006-10-21Fixed the "inconsistent update" problem when using the pkgsrc wrapperrillig3-7/+14
cache together with MAKE_FLAGS=-j. The cache file is now regenerated into a temporary file and then renamed (atomically) to the "real" cache file. Fixed some code that would fail when run in "set -e" mode. If you want to test the "set -e" mode, just uncomment the line in wrapper.sh.
2006-10-21Moved the check whether checkperms(1) exists from load time to run time.rillig1-12/+10
2006-10-21Documented a not-so-easily-fixed bug that occurs when stripping commentsrillig1-1/+3
off a line.
2006-10-21When CPP is defined as "cc -E" on Solaris with sunpro, the cc wrapperrillig1-3/+5
had been overwritten with the cpp wrapper, and the latter didn't define the necessary transformation rules. Fixed that.
2006-10-21Add two new options for viewvcadrianp1-0/+2
2006-10-18Added a stub describing the public interface of this file.rillig1-1/+16
2006-10-18Add cformat= to avoid an error and exit on the undefined variable.ben1-1/+2
2006-10-18Change from jlam that adds the ability to override the decompressor usedben1-7/+23
by extract.
2006-10-18Add ipa options.markd1-0/+6
2006-10-17Add an (up to date!) HTTP mirror for KDE sources, the first HTTP site in the ↵dsainty1-1/+2
preferred list on http://download.kde.org.
2006-10-17Added a missing line continuation in the README.html target.rillig1-2/+2
2006-10-17If /usr/bin/printf exists, it will be used.rillig1-1/+4
2006-10-17Added /usr/bin/printf.rillig1-1/+2
2006-10-17Use /usr/bin/printf if it exists.rillig1-1/+4
2006-10-16Since 2006/10/09 the ${PLIST} file does not contain the fullseb1-2/+3
pathnames anymore. Therefore cd to ${PREFIX} to correctly resolve the relative pathnames. While here unbreak CHECK_WRKREF for another reason: Append to ${ERROR_DIR}/${.TARGET} otherwise the "_NONZERO_FILESIZE_P" check is always false...
2006-10-15Include some more magic to set ownership of packages build withjoerg3-4/+17
use-destdir to ${ROOT_USER}:${ROOT_GROU}. This allows us to safely use it on all packages which don't install setuid/setgid binaries.
2006-10-15Rename some bugzilla options based on the upcomming 2.22 import and addadrianp1-3/+4
some extra ones as well.
2006-10-15Teach how to unpack .gem files.minskim4-4/+25
2006-10-15Darwin has gm4 and printf.minskim1-1/+3
2006-10-14Added the user-settable variable CCACHE_DIR, so that the cache can berillig1-2/+13
outside of WRKDIR. I don't see a reason for having the cache inside a directory that will go away on "make clean", but I left the default value as is.
2006-10-14Completely rewrote apache.mk and apachever.mk. The latter is now anrillig2-161/+107
alias for apache.mk, since I don't see a reason why a package should query the apache version without also adding a dependency on apache. Fixed the documentation to match the code. Made the code simpler. Added sanity checks for both package-settable and user-settable variables.
2006-10-13Creating an archive from the working directory may take some time forrillig1-1/+2
big packages, so print an informational message before doing that.
2006-10-13Added a new post-installation check to see whether the files have theirrillig3-2/+73
permissions properly set. See mk/check/check-perms.mk and sysutils/checkperms for details.
2006-10-12Linux shadow-utils provides a useradd that fails when creating a homeben1-0/+146
directory under a base directory hat does not exist. Add workaround to ensure that the base directory does exist. This addresses PR#34779
2006-10-12Warnings must only be prefixed by a warnings heading, not an errorrillig1-6/+13
heading.
2006-10-12Portability checks, version two.rillig3-31/+107
The actual check has moved into a shell file to allow for nice-looking code. Instead of only the configure scripts, it scans all files whose first line matches "#!*/bin/sh". Therefore the check is run no matter if HAS_CONFIGURE is set or not. Added a warning (not an error) for every use of $RANDOM that is not combined with $$, the process ID. $RANDOM is only implemented by bash and some versions of the ksh.
2006-10-11Add default DIALER_GROUP and explanation.reed1-1/+8
I forgot to commit this last week when I updated xisp package. (This is for PR 34780.)
2006-10-10Added printf to USE_TOOLS, because it is used heavily by the "debug" andrillig1-3/+3
"help" targets.
2006-10-10s/LOCALBASE/PREFIX/, but thanks for catching this.joerg1-2/+2
2006-10-09Since a few hours, the .PLIST file does not contain the full pathnamesrillig1-1/+2
anymore. Therefore, cd to ${LOCALBASE} to correctly resolve the relative pathnames.
2006-10-09Main infrastructure for DESTDIR support.joerg12-50/+119
Packages may set PKG_DESTDIR_SUPPORT to either "destdir" or "user-destdir" to flag support for this, following the same rules as PKG_INSTALLATION_TYPES (e.g. define before first include of bsd.prefs.mk). The user activates it via USE_DESTDIR. When set to "yes", packages with "user-destdir" are handled as "destdir". The installation of the package will not go to ${LOCALBASE}, but a subdirectory of ${WRKDIR} instead. pre/post install scripts are not run and the package is not registered either. A binary package can be created instead to be installed normally with pkg_add. For "user-destdir" packages, everything is run as normal user and ownership is supposed to be correctled by pkg_create later. Since the current pkg_install code uses pax and it doesn't allow overwriting owners, this does not work yet. For "destdir" packages, installation, packaging and cleaning is run as root. This commit does not change the handling of DEPENDS_TARGET or bin-install to allow recursive usage.
2006-10-09Add variable to control whether the install target is run as root.joerg2-2/+8
2006-10-09Add two variables to control whether make package and make cleanjoerg4-23/+20
are run with elevated privileges. Remove MAKE_PACKAGE_AS_ROOT for now, since it is not sure whether the functionality in the current form will stay and developers should spend time on the destdir support instead.