summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2002-01-04Minor indenting nit.agc1-3/+3
2002-01-04Add a new variable "UNLIMIT_RESOURCES" which can be used to raise processtron1-2/+10
limits for building a package.
2002-01-03Explicitly set BUILDLINK_DIR and BUILDLINK_X11_DIR with = instead of ?=.jlam2-4/+4
We really don't want these to change from the correct values (within ${WRKDIR}).
2002-01-01Remove trailing \ in the sed expression for config script wrappers as Linuxjlam1-2/+2
chokes on the construct. This was a pasto that's been there for a while but was uncaught. Thanks for David Brownlee <abs@netbsd.org> for noting the problem and the solution.
2002-01-01NS_ENCRYPTION hasn't been user-decidable for over a year now -- remove option.wiz1-7/+1
2001-12-27Darwin's patch(1) requires that you tell it to make backup files, as wellagc1-2/+2
as giving it a suffix to name the backup file.
2001-12-26(1) Create new variable "APACHE_SUEXEC_CONFIGURE_ARGS" that may containjlam2-3/+13
--suexec-* configure options that are passed directly to the Apache configure script. This may be used to tune the suEXEC configuration in more restrictive ways, e.g. --suexec-uidmin=1000. This solution is more open-ended than the fix proposed in pkg/14973. Also, we don't duplicate all of the options from the Apache configure script in pkgsrc bsd.pkg.defaults.mk. This closes pkg/14973 by Eric Schnoebelen <eric@cirr.com> (2) For namespace consistency, deprecate APACHE_USER in favor of APACHE_SUEXEC_USER. Move APACHE_USER into bsd.pkg.obsolete.mk. (3) Create the suEXEC user when the functionality is enabled in the server so that CGI scripts will work properly. This closes pkg/14903 by Wojciech Puchar <wojtek@3miasto.net>
2001-12-26Remove excessively clever checks to allow a section to be seen only if it'sjlam1-8/+5
the second time this file is included. Check for BSD_PREFS_MK instead.
2001-12-26Define a symbol BSD_PREFS_MK that may be checked by Makefile fragments tojlam1-1/+13
see whether they are being included from within bsd.prefs.mk or from without.
2001-12-26Include bsd.prefs.mk so that INSTALL_RCD_SCRIPTS may be defined before thejlam1-1/+3
relevant code in this file.
2001-12-25Add another locale dir (bg).wiz4-4/+20
2001-12-25Add another locale dir (de_AT).wiz4-4/+20
2001-12-24Initial implementation of pthread.buildlink.mk to transparently allow forjlam2-1/+110
using either the native pthread implementation or using a package pthread implementation instead, e.g. pth, ptl2, mit-pthreads, etc. The only currently supported package pthread implementation is pth as it's the only one with a buildlink.mk file. An example usage is: USE_PTHREAD= native pth .include "../../mk/pthread.buildlink.mk" or a fancier example is: USE_PTHREAD= native .include "../../mk/bsd.prefs.mk" .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") CONFIGURE_ARGS+= --without-pthreads .endif .include "../../mk/pthread.buildlink.mk"
2001-12-23Make the AUTOMAKE_OVERRIDE work for packages that use automake-1.5 and/orjlam1-7/+12
autoconf-2.5* by touching some more files. Thanks to YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> for pointing out the error in private e-mail. Also list several packages on which to verify this code after making changes to the AUTOMAKE*_PATTERNS.
2001-12-22Change the way the files used by the GNU auto* tools are touched. We nowjlam1-6/+43
touch some files before the configure script is run, and some more afterwards. We touch the files afterwards since the configure script can get modified after it is run, and touching some files afterwards prevents them from being regenerated if they depend on the configure script.
2001-12-21By popular demand, change the default screen library for "lynx" tofredb1-3/+3
curses. On NetBSD-1.5.*, the appearance in an xterm is nearly the same as with libslang.
2001-12-19Teach bsd.pkg.mk how to extract all files in ${EXTRACT_ONLY} that end injlam1-40/+83
suffices listed in ${_EXTRACT_SUFFICES}. Currently, _EXTRACT_SUFFICES has .tar.bz2, .tbz, .tar.gz, .tgz, .tar, .zip, .lzh, and .lha. If the file doesn't end in any of these suffices, then we use the old code to do the extraction. This rids us of the mild annoyance where if you have several distfiles, some ending in .tar.bz2, some in .tar.gz, and others in .zip, then you have to create a post-extract target to extract all of the ones not ending in the suffix that you designate in EXTRACT_SUFX. I've tested this with some representative packages: archivers/gtar-base, print/cups, www/surfraw, and print/ghostscript-nox11.
2001-12-19D'oh! I had the logic reversed for the INSTALL_RCD_SCRIPTS check.jlam1-3/+3
2001-12-19Wildcard lha dependency.wiz1-2/+2
2001-12-19Do previous without breaking package Makefiles that use RCD_SCRIPTS andjlam1-5/+6
expect it to contain the list of example rc.d scripts.
2001-12-19Add a new _OPSYS_HAS_GMAKE definition, to denote that the OS has GNU makeagc5-6/+15
as standard. Hoist the default definition of ${GMAKE} from bsd.pkg.mk into the different defs.${OPSYS}.mk files. A non-standard location or name for GMAKE can still be specified in /etc/mk.conf.
2001-12-18Since print/cups conflicts with another popular print package,jlam2-8/+11
print/lprng, we make a new variable USE_CUPS that is used by packages to determine whether depend on print/cups and to compile in support for CUPS. USE_CUPS may be either "YES" or undefined. Deprecate SAMBA_WITH_CUPS as its purpose is superseded by USE_CUPS. Convert net/samba and net/samba20 to use USE_CUPS and make x11/kdelibs2 respect USE_CUPS.
2001-12-18By default, don't install the rc.d scripts into /etc/rc.d. Despite thejlam1-1/+7
fact that they don't do anything unless the appropriate variables are set in rc.conf, people really dislike the warning emitted at startup. For users that do want the pkg_* tools to handle automatically copying and removing the rc.d scripts, the mk.conf variable to set is INSTALL_RCD_SCRIPTS=YES.
2001-12-17Add an example of use of the french distfile mirrror.bouyer1-1/+9
2001-12-17Use "/usr/xpg4/bin/sed" instead of "/usr/bin/sed" under Solaris becausetron1-2/+2
the later one has problem with very long lines which will e.g. break the "x11-links" package.
2001-12-17- add 'bulk-cache' and 'clean-bulk-cache' targets to create and removedmcmahill2-19/+34
the cache files used during a bulk pkgsrc build. - replace the code in the build script that used to create the cache files with a 'make bulk-cache' call.
2001-12-16add more checks to be more robust in the face of an index file whichdmcmahill1-1/+3
may not be 100% accurate.
2001-12-15Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the externalagc4-38/+38
references of the pkglint package. _PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages which would like to refer to other packages in the build tree. It should not be set by users, but neither should it stop a user from building a package if it is defined, so make it obvious that this is the case.
2001-12-13Substitute for GREP as well.jlam1-1/+2
2001-12-12Retire USE_CURSES, which was superseded by devel/ncurses/buildlink.mk, andwiz1-16/+1
has now been purged from pkgsrc.
2001-12-12Add LOWER_OS_VERSION to match LOWER_OPSYS, LOWER_VENDOR, and LOWER_ARCHabs2-2/+8
2001-12-11if .tar.bz2 needs bzcat, so does .tbzabs1-2/+2
2001-12-10Substitute for HEAD and GTAR.jlam1-1/+3
2001-12-10We want to touch the configure script last (after touching the sourcejlam1-2/+2
files) in the AUTOMAKE_OVERRIDE code so as to prevent autoconf from regenerating the configure script. A "*" was mistakenly added in revision 1.874.
2001-12-10Added SASL_USE_GSSAPI=YESmartti1-1/+6
2001-12-09Subst. for PERL5 in INSTALL files.jlam1-1/+2
2001-12-08pkgtools/x11-links has been updated.kristerw1-2/+2
2001-12-08Treat PKGREVISION=0 as if it wasn't set (-> add no "nb0")hubertf1-2/+2
2001-12-07remove : at end of if exists()abs1-2/+2
2001-12-06Added optional IPv6 support for Cyrus.martti1-1/+6
2001-12-05Add support for OS X-style dylibs when creating the derived PLIST file.agc1-1/+28
2001-12-04Fix of commands invoking {USER,GROUP}ADD so that '-{u,g}' and '{user,group}id'seb1-5/+5
are two distinct shell words. Reviewed by Johnny C. Lam.
2001-12-04By default, prevent invocation of GNU "auto*" driven by the generatedjlam1-7/+9
Makefiles during the build process by touching various auto{conf,make} source files to make them up-to-date. Packages that require regenerating the configure script and Makefile.in files should make the appropriate calls to auto{conf,make} in a pre-configure target. This allows the various targets listed in ${_CONFIG_PREREQ} to modify the generated files without triggering the GNU auto* tools and having the modifications be overwritten.
2001-12-03Added POSTFIX_USE_INET6martti1-1/+6
2001-12-03Add POSTFIX_USE_SASL_AUTH.kent1-2/+7
Rename POSTFIX_PCRE to POSTFIX_USE_PCRE.
2001-12-02Add support for distfile-specific master sites, as requested in pkg/7471.wiz1-45/+45
Syntax: MASTER_SITES_completefilename= http://specific.master/site and similarly for PATCH_SITES. Convert print/ghostscript-nox11 and x11/kterm to take advantage of this.
2001-12-02Support automatically calling the INSTALL script during installation. Thisjlam2-5/+11
currently only occurs for packages that use bsd.pkg.install.mk. There are two new targets, pre-install-script and post-install-script, that default to doing nothing. The order of targets called for a "make install" is: pre-install-script pre-install do-install post-install post-install-script The new targets are defined in bsd.pkg.install.mk to call the INSTALL script with the PRE-INSTALL and POST-INSTALL options.
2001-12-02The *_POST_SED variables became private in bsd.buildlink.mk.jlam1-3/+3
2001-12-01Catch errors while running printindexhubertf1-2/+5
2001-12-01there's no need to abort this whole script if one pkg brings up anhubertf1-3/+3
error.