summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2005-03-24USE_BUILDLINK3 is no longer optional (and cannot be turned off). Per mailtv13-149/+34
to tech-pkg: ===== * USE_BUILDLINK3=YES will be unconditional. (In fact, USE_BUILDLINK3 will be ignored altogether by mk/; but see below.) * NO_BUILDLINK and NO_WRAPPER will be ignored by mk/. If a build happens, these phases will happen. * The existing NO_BUILD will imply the previous NO_BUILDLINK and NO_WRAPPER. If no build happens, those phases are not needed. * NO_TOOLS will be ignored by mk/. The tools phase, which provides much more than just the C compiler, will always happen regardless of package. This will make metapackage builds only slightly slower, in trade for far less user error.
2005-03-24Correctly pass ${SORT} to tflat. Interix needs something other than thetv2-5/+5
OS-supplied one (currently, it will use gsort from coreutils).
2005-03-24Unfortunately, BULK_PREREQ doesn't shield its prerequisites from beingtv1-1/+2
deleted because one of *their* dependencies are deleted. So add the dependencies of lang/gawk and sysutils/coreutils to BULK_PREREQ too.
2005-03-23Add fy locale, first used by KDE 3.4.markd13-13/+65
2005-03-23Replace inline definitions of errno with "#include <errno.h>" toschmonz1-2/+14
fix compilation on systems with glibc 2.3.1 or newer.
2005-03-23Add a Makefile fragment for packages with djb-style build machinery.schmonz1-0/+64
Common functions provided: * a boilerplate RESTRICTED clause * typical defaults for BUILD_TARGET and INSTALL_TARGET * typical values for conf-* files
2005-03-22In the distclean target, if PKG_RESUME_TRANSFERS is set, cleanxtraeme1-1/+4
the temp files too.
2005-03-22Some changes for PKG_RESUME_TRANSFERS:xtraeme1-45/+63
o If origfile is already downloaded (size ok) and there's a temp file with incomplete size, don't try to resume the transfer on the temp file, remove it. o Clean the code a bit.
2005-03-22Several NetBSD ports (e.g. sparc64) don't have "/sbin/ldconfig". So checktron1-1/+5
whether it exists and use "true" otherwise.
2005-03-22Change default to 2005Q1.wiz1-2/+2
2005-03-22Bump LIBTOOL_REQD to 1.5.14; this unifies all the support again and fixestv4-11/+5
a good number of bugs.
2005-03-21Add -*- sh -*- comment at top of file; from PR 22947.wiz2-2/+4
2005-03-21Move "GNU replacements" block to the top.tv1-15/+13
Use gsort from coreutils instead of /bin/sort if coreutils is installed. Install coreutils in BULK_PREREQ to get gsort; /bin/sort can't handle the amazingly long lines produced by the dependency-tree printing script.
2005-03-21Don't claim that the "gawk" bundled with Interix is really gawk. It'stv1-2/+3
old and buggy, and if a package wants USE_GNU_TOOLS+=awk, pull in lang/gawk instead for less problems.
2005-03-20Reset the current locale to a sane value (that is, 'C') during the buildjmmv1-1/+8
of packages. Several utilities behave differently or even incorrectly if a locale different than 'C' is set. One of these is perl, which spits a big warning and then breaks some packages. An example is irssi, as described in PR pkg/29613 by Hanno Wagner.
2005-03-20Define SCREWS_USER and SCREWS_GROUP, which are going to be used by www/screws.jmmv1-1/+13
2005-03-19Let this file be included even if JAVA_WRAPPERS is empty; this was possiblejmmv1-14/+14
before, but after the introduction of alternatives, a regression appeared. This is useful for packages that install files inside ${PREFIX}/java so that the directory is automatically removed when empty. Problem exposed by sablevm-classpath as described in PR pkg/29643 by Antoine Reilles.
2005-03-19The gawk that comes with Interix is 2.15, which works for most purposestv1-1/+8
but can be buggy in some situations (like the bulk build environment). If pkgsrc gawk happens to be installed, use that; also add lang/gawk to BULK_PREREQ so it is always used in that case. If lang/gawk is not installed, ${AWK} will default to /usr/contrib/bin/gawk as it did before.
2005-03-18Fix a gleaming illustration of why using YES/NO variables everywheretv14-63/+44
possible, just for the sake of doing so, is not a good thing to do: The platform files define _STRIPFLAG_* to determine whether to strip things. But since this is included in bsd.prefs.mk, ".if ..." checks cannot take things set in the Makefile into account. So convert INSTALL_UNSTRIPPED=YES to a defined/undefined variable check in bsd.pkg.mk, and use the :D:U idiom in the _STRIPFLAG_* variables. This should fix PR pkg/28772 and PR pkg/29031.
2005-03-18Some updates, mostly from PR 28611.wiz1-30/+15
2005-03-18Add defaults for "bind9" package enhancements.tron1-1/+16
2005-03-17fix broken sed regexp which sometimes causes a failed pkg fail in marking ↵dmcmahill1-2/+2
others as broken
2005-03-17Set PGSQL_TYPE to the PKGBASE of the PostgreSQL library package that'sjlam1-3/+7
ultimately selected. PGSQL_TYPE may be used to reference various BUILDLINK_*.${PGSQL_TYPE} variables.
2005-03-17Move definitions for "mldonkey" and "monotine" accounts to correct place.tron1-24/+24
2005-03-17Update URL for PGSQL_USE_HIER.jschauma1-2/+2
2005-03-16make sure we correctly set F77. Addresses PR29666dmcmahill1-2/+2
2005-03-15Short bl3 fragment to provide a NROFF (base system or textproc/grofftv1-0/+17
package, based on whether /usr/bin/nroff is available).
2005-03-13Put back the speed-up in the vulnerability checking when building a package,agc1-1/+2
but disable this if the package name in the pkg-vulnerabilities file contains a meta-character. This speeds up the check-vulnerable target from: [9:28:06] agc@sys3 ...pkgsrc/misc/libutf 11 > time make check-vulnerable 1.821u 1.988s 0:02.57 147.8% 0+0k 0+0io 0pf+0w [9:28:17] agc@sys3 ...pkgsrc/misc/libutf 12 > to [9:28:27] agc@sys3 ...pkgsrc/misc/libutf 13 > time make check-vulnerable 0.273u 0.233s 0:00.33 151.5% 0+0k 0+0io 0pf+0w [9:28:30] agc@sys3 ...pkgsrc/misc/libutf 14 > (with caches filled, on a fairly fast machine - P4 2.8 GHz, 2GB RAM).
2005-03-12Some minor hacks for grep and gtar, to use the pkgsrc versions ifgarbled1-7/+11
available, since the builtin ones aren't so wonderful.
2005-03-12Avoid feeding very long lines to grep/egrep. The grep/egrep implementationdmcmahill1-30/+41
on some systems, e.g. solaris, will simply drop long lines. These longs lines are found in the flattened up and down dependency lists in the bulk cache files. Instead, use sed to deal with this. Fixes problems noted in Solaris bulk builds. Patch tested on NetBSD-2.0 and Solaris-2.9
2005-03-12Since it's not particularly easy to get perl compiling under pkgsrc ongarbled1-1/+5
AIX, and AIX ships with perl 5 by default, allow pkgsrc to use it for building stuff.
2005-03-08fix previous to work with pkgsrc bmake, and add a comment explaininggrant1-2/+5
why it must be done this way.
2005-03-07Make the description of LIBTOOLIZE_PLIST a bit more explicit aboutbad1-3/+3
the file names of libtool archives.
2005-03-07Change a comment to reflect the current default value of LIBTOOLIZE_PLIST.bad1-2/+2
2005-03-07Do NOT assume that DISTNAME == PKG_NAME just to avoid using :=.jwise1-2/+2
Doing so broke any package (such as matlab-mode) where these were not equal, and in a particularly damaging and non-obvious way.
2005-03-06Also echo the wrapper stages if PKG_VERBOSE is defined, not just whenagc1-2/+2
PKG_DEBUG_LEVEL > 1.
2005-03-06Add sasl2 to PKG_DEFAULT_OPTIONS when USE_SASL2 is set,wiz1-2/+2
not sasl. From Lloyd Parkes in PR 29604.
2005-03-02Explain X11_TYPE.reed1-1/+7
It is not defined here though. It is defined in mk/buildlink3/bsd.buildlink3.mk.
2005-03-02When FAILOVER_FETCH is set, only use the first digest algorithm foundagc1-2/+2
for a dist file or patch, and let the "checksum" target do the full digest integrity checks. Should fix a problem reported by John Klos on tech-pkg, which I was a bit dim in analysing.
2005-02-27Fix PLIST_SRC error introduced in rev 1.1593.veego1-4/+7
Before this fix it would include PLIST.common then _only_ one of the following PLIST.${OPSYS} PLIST.${MACHINE_ARCH:C/i[3-6]86/i386/g} PLIST.${OPSYS}-${MACHINE_ARCH:C/i[3-6]86/i386/g} PLIST and then PLIST.common_end. Now, uses all of the following PLIST files, in that order: PLIST.common PLIST.${OPSYS} PLIST.${MACHINE_ARCH:C/i[3-6]86/i386/g} PLIST.${OPSYS}-${MACHINE_ARCH:C/i[3-6]86/i386/g} PLIST PLIST.common_end
2005-02-26Document doing a pkgsrc-current buildhubertf1-2/+2
2005-02-25Fix a problem introduced in the previous commit, noticed by Matthiasesagc1-11/+19
Scheler and Drochner. Handle missing checksums in distinfo properly. Tested by myself and tron.
2005-02-24* Teach devel/p5-Module-Build to write .packlists just like MakeMaker.pmjlam1-27/+8
does. This allows us to use dynamic PLISTs for Perl modules that are built using Module::Build. Bump the PKGREVISION of p5-Module-Build to 1. * Drop the use of PERL5_USES_MODULE_BUILD and introduce a new variable PERL5_MODULE_TYPE that is either "MakeMaker" or "Module::Build" that names the framework used to build/install the module. * Split out the variables set in perl5/buildlink3.mk that are also used by perl5/module.mk into a new file perl5/vars.mk. Move some PERL5_* variable definitions from pkgsrc/mk/bsd.pkg.use.mk into perl5/vars.mk. This just centralizes the common PERL5_* definitions into a single file location. * Convert the known packages that use Module::Build to set PERL5_MODULE_TYPE and PERL5_PACKLIST: devel/p5-Class-Container devel/p5-Exception-Class devel/p5-Log-Dispatch devel/p5-Array-Compare textproc/p5-Pod-Coverage www/p5-Apache-Session-Wrapper www/p5-MasonX-Request-WithApacheSession
2005-02-23Remove some non-mirroring gnu mirrors, and fix paths in some others.wiz1-9/+3
2005-02-23Remove some non-mirroring sunsite and xcontrib mirrors.wiz1-15/+2
2005-02-22Pass "makedistinfo" down as one of the inherited targets.agc1-6/+5
2005-02-22As seen on tech-pkg - allow multiple digest algorithms to be used toagc1-20/+29
ensure the integrity of distfiles and dist patches. For now, the default algorithms are SHA1 and RMD160, set as a whitespace-separated list in the DIGEST_ALGORITHMS definition. The DIGEST_ALGORITHM definition is deprecated. Patchfiles will still use simply SHA1, since we are trying to detect a binary "has this file changed", rather than proect against tampering. In short, if someone can modify the patch file, they can modify the distinfo file holding its digest information. This value is set in the new PATCH_DIGEST_ALGORITHM definition. Triggered by the breaking of SHA1, as reported in http://www.schneier.com/blog/archives/2005/02/sha1_broken.html
2005-02-21Change the files to be used for PLIST_SRC fromveego1-1/+5
PLIST.common PLIST.${OPSYS} PLIST PLIST.common_end to PLIST.common PLIST.${OPSYS} PLIST.${MACHINE_ARCH:C/i[3-6]86/i386/g} PLIST.${OPSYS}-${MACHINE_ARCH:C/i[3-6]86/i386/g} PLIST PLIST.common_end Which makes it possible to remove duplicated code in some packages. This doesn't change anything, because all affected packages define PLIST_SRC, so this code would never be used for them. And most of them will be fixed with the next commit. ToDO: ${MACHINE_ARCH:C/i[3-6]86/i386/g} looks wrong and should be changed, but thats what we allready use for MESSAGE_SRC.
2005-02-20fix bug introduced in 1.1569: use ${GREP} instead of 'grep' and notgrant1-2/+2
all grep(1)s support grepping for empty string. `${GREP} .' instead.
2005-02-19update the PLIST handling for AIX, shared libraries have the .sogrant1-3/+3
extension when the runtime linker is used. from garbled@.