summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
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@.
2005-02-19add wrappers to transform arguments for AIX's ld(1), notably, if wegrant4-1/+253
are dynamically linking, the -brtl flag must be passed to the linker so that the runtime linker is used. tested on AIX 4.3 and 5.1 by garbled@.
2005-02-19define GNU_ARCH for rs6000 and set OBJECT_FMT correctly for AIX.grant1-5/+6
2005-02-17If /bin/id exists, then use it for ID else use /usr/bin/id.reed1-1/+5
Mandrake Linux 10.1 as used by A L Meyers has /bin/id. This should fix his PR #pkg/29430 and #29431.
2005-02-17Revert previous. This breaks databases/postgresql74-lib for me on NetBSDseb1-3/+1
current.
2005-02-17add bits for AIX to correctly set MACHINE_ARCH and OS_VERSION, so thatgrant1-1/+20
MACHINE_GNU_PLATFORM is set to something sane. tested with AIX 4.3.3 and 5.1.
2005-02-16drop -fexceptions which icc doesn't understand.grant1-2/+2
2005-02-16Add ${BUILDLINK_VARS} to WRAPPER_VARS.seb1-1/+3
Since the bsd.wrapper.mk framework was introduced, hence the removal of BUILDLINK_VARS handling from bsd.buildlink3.mk, none of the variables listed in BUILDLINK_VARS were "cached" in any way.
2005-02-16Always link against the Intel provided C++ runtime library.grant1-1/+6
2005-02-16Fix an anomaly noted by Steve Bellovin inagc1-2/+1
<20050215182853.AC52D3C03B8@berkshire.machshav.com> The check for a vulnerable package at package fetch time is producing incorrect results when csh-style alternates are used in the pkg-vulnerabilities specification of the vulnerable package - disable the incorrect speed-up that was there previously, at the expense of some machine cycles at build time.
2005-02-16properly detect icc 8.1, which needs a different argument togrant2-1/+71
statically link the Intel provided libraries.
2005-02-16override the GNU configure test for __attribute__. the test commonlygrant1-1/+10
uses a nested function, which icc does not support.
2005-02-16note that xlc support is on Darwin.grant1-2/+2
2005-02-16whitespace fixesgrant1-7/+7
2005-02-15Some older ${FIND}s do not have an implicit "-print"; make sure to specifytv1-8/+8
it explicitly (as with other ${FIND} usage here).
2005-02-15it's 2005, not 2004.grant2-4/+4
2005-02-15add support for icc, the Intel C++ Compiler (Linux).grant5-3/+233
icc is a high performance compiler suite for Linux/i386 and ia64, and is free for non-commercial use. see: http://www.intel.com/software/products/compilers/clin/ for more information. tested with icc version 8.0 and 8.1 on Slackware 10/i386.
2005-02-15The libtool wrapper should always do the compiler wrapper transformations,jlam2-4/+8
so move the setting for _WRAP_ARG_PP.LIBTOOL out of conditional areas of bsd.wrapper.mk and set it globally in bsd.buildlink3.mk with the rest of the libtool wrapper variables.
2005-02-14Add some more debugging annotations for the work log to note split argsjlam1-3/+3
and skipped args.
2005-02-14Move some Darwin-specific code from arg-pp-main into arg-pp-darwin-gcc.jlam2-19/+23
2005-02-14Teach the libtool wrapper about the same types of transformations thatjlam1-1/+3
the compiler wrapper already knows to do. This should protect "-install_name ..." from wrapper transformations within the libtool wrapper on Darwin and fixes PR pkg/29215. Software that properly use libtool don't pass an explicit "-install_name ..." because libtool always generates its own such argument when building the (Darwin) shared library. However, not every piece of software, including the ones like lang/tcl that pkgsrc converted to use libtool, will use libtool in the documented fashion. Longer term, those packages should be fixed properly, but we will still need the libtool wrapper to avoid transforming arguments that the compiler wrapper itself doesn't transform, e.g. for MIPSpro and -LANG:*.
2005-02-14Fix typo in previous (should have ended the line with &&).tv1-2/+2
2005-02-14Remove "test ... -ef ...", which is unportable. Currently this is causingtv1-2/+1
syntax errors (and unchanged example files to be left behind) on Interix; it probably causes a problem on others. (This test appears to work around a case where two files were exactly the same by inode, and have the script *not* delete the file in that case. I'm not exactly sure why that is desirable at all.)
2005-02-13chown on AIX is at /usr/bin/chown.reed1-2/+2
Thanks to Roland, Hubert, and Noud for the PR. This will close PR #28208.
2005-02-13Corrected a misspelling of a variable. I used $rebooted in a shell code,rillig1-2/+2
which had better been $$rebooted (Makefile quoting). Approved by jlam.
2005-02-12Don't use the -nt operator for ${TEST}. It is not defined in POSIX, andrillig1-5/+8
not provided by the Solaris 9 /bin/sh. Use the find(1) -newer expression instead, as it expresses exactly what we want, compared to the "ls -t" hack.
2005-02-11Whitespace formatting nits.tv1-5/+5
2005-02-11Consolidate PLIST_SRC default generation and the plethora of failsafetv1-139/+125
error checks into labelled blocks toward the top of the file. While here, remove the historic (now completely empty; it was replaced by PKG_FAIL_REASON some time ago) uptodate-pkgtools target and the references to it.