summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-02-11Visual cleanup from tv-derecurse:tv2-69/+61
Consolidate many MAKE_ENVs and SCRIPTS_ENVs into a common block. (CONFIGURE_ENVs to be done later.) Introduce new variable ALL_ENV which is automatically included into all of MAKE_ENV, SCRIPTS_ENV, and CONFIGURE_ENV; this allows much cleaner addition of the common CC/CXX/CFLAGS/etc. variables needed by all of these.
2005-02-11Migrate the big block of USE_PERL5 and PERL5_REQD logic to bsd.pkg.use.mk.tv2-81/+84
2005-02-11Migrate several USE_* logic blocks, previously sprinkled liberallytv3-78/+91
throughout bsd.pkg.mk, to labelled blocks in bsd.pkg.use.mk.
2005-02-11Cleanup from tv-derecurse:tv1-7/+3
There's no need to check for a do-tools target; nothing should override it. Vertically consolidate the dependency.
2005-02-11Merge down some more visual cleanup from tv-derecurse to reduce divergence.tv2-100/+100
Part of this, introduce bsd.pkg.use.mk, where the Special Logic invoked by various pkgsrc-wide USE_* variables will be migrated/consolidated.
2005-02-10on Linux, we need more than just /proc in the sandbox. :)grant1-2/+2
2005-02-10add planetmirror to MASTER_SITE_PERL_CPAN for Australia.grant1-2/+3
2005-02-09Fix Interix user/group failsafe so that it works on PKG_USERS with \\ in them.tv1-4/+4
2005-02-09Replace _IGNORE_USE_GNU_TOOLS with finer-grained exclusion.gavan1-13/+16
This solves the problem of building GNU tools that explicitly or implicitly depend on other GNU tools. This problem has presented a bootstrap issue on platforms with few GNU tools, especially where USE_PKGSRC_GCC is used. Based on a patch posted by sketch on tech-pkg in December 2003.
2005-02-09Split out wget's options into an options.mk.tv1-6/+1
Migrate WET_USE_SSL to PKG_OPTIONS.wget=ssl (on by default, as previously).
2005-02-09"replace" should depend on ${_PKGSRC_BUILD_TARGETS}, just like "install".tv1-2/+2
2005-02-09default SUSE_PREFER to 9.1 on NetBSD-2.0 and laterabs1-3/+7
2005-02-07Instantly deprecate USE_PAM from pkgsrc as its value is being set fromjlam1-4/+1
within NetBSD-current's bsd.own.mk, which conflicts with its usage in pkgsrc. The package that use USE_PAM have been converted to use the bsd.options.mk framework. This should fix PR pkg/29257.
2005-02-07The lists of ghostscript version patterns should match all ghostscriptjlam1-9/+7
versions (minus any PKGREVISIONs) less than or equal to the latest version of each ghostscript available in pkgsrc (minus any PKGREVISIONs). For example, if the print/ghostscript-esp is at 7.10, then the list of patterns for ghostscript-esp should match all versions <=7.10, which is [0-6].* 7.[0-9]* 7.10
2005-02-07pg80 is now in databases, not wipdan1-2/+2
2005-02-07don't recognise pg80 as pg74 alsodan1-2/+2
2005-02-05Set PKG_REFCOUNT_DBDIR in the environment for the +INSTALL script, justjlam1-1/+4
like pkg_add(1) does in pkg_install-20050204.
2005-02-04Add tl locale, initially used by glib 2.6.2.jmmv13-13/+65
2005-02-04Bump PKGTOOLS_REQD to 20050204. This version of pkg_install passesjlam2-4/+3
the correct information to the +INSTALL and +DEINSTALL scripts to fix problems with binary packages incorrectly locating the reference counts database, e.g. /var/db.refcount.
2005-02-03Create a new INSTALL script action "UNPACK" that unpacks all of thejlam1-6/+6
sub-scripts.
2005-02-02Next round of install script cleanup -- we now create +FILES,jlam6-349/+533
+RCD_SCRIPTS, and +PERMS subscripts to handle copying config files and rc.d scripts, and setting special permissions on files. The +FILES and +RCD_SCRIPTS are basically identical except for different embedded packets of data, and they feature reference-counting for the files in case multiple packages share the same config file. Garbage-collect unused functions and definitions in the install scripts now that the subscripts are self-contained.
2005-02-01allow postgresql80 (from wip), similar to java-vm.mk and jdk14abs1-3/+8
2005-01-31In the usage message, note that the CHECK-* actions can take an optionaljlam2-4/+4
metadatadir argument.
2005-01-31Note in the usage that CHECK-* take an optional metadatadir argument.jlam1-2/+2
2005-01-31Add missing "fi".jlam1-1/+2
2005-01-31Fix automatically adding users and groups after the {GROUP,USER}ADDjlam2-11/+13
definitions were removed from mk/install/headers. The checks for whether {GROUP,USER}ADD are defined are now moved to the usergroup script.
2005-01-31Add RCS Id.jlam2-0/+4
2005-01-30Convert the Java related packages to use the alternatives system. To dojmmv1-1/+8
this, we only need some simple logic in java-env.mk to automatically generate an ALTERNATIVES file for us. There are two exceptions, though: fastjar and jikes (pointed out by tv@), which do not use this file; they have to be handled manually. Bump PKGREVISION for all affected packages. While doing this, remove the java-wrapper package, obsoleted by the new functionality provided by pkg_alternatives.
2005-01-28Don't make pkgsrc depend on dc(1) to be present in the system. Sincejlam14-36/+18
we already use awk so pervasively in pkgsrc, simply use awk in place of dc for simple computations.
2005-01-28Avoid hardcoding the refcount database into the INSTALL scripts. Wejlam3-13/+6
now simply make ${PKG_REFCOUNT_DBDIR} always be ${PKG_DBDIR}.refcount so that it always follows the location of ${PKG_DBDIR}. This preserves the ability for PKG_DBDIR (and PKG_REFCOUNT_DBDIR) to be different on different machines despite using the same binary packages.
2005-01-28Move the default directory for the reference counts database outsidejlam1-4/+5
of ${PKG_DBDIR} to avoid problems with the package tools thinking that it is a bad package. The default directory is ${PKG_DBDIR} with ".refcount" appended to the name. This may be set explicitly through PKG_REFCOUNT_DBDIR in /etc/mk.conf (bootstrap users may want to do this, although the default value should do the right thing).
2005-01-28Remove entries for GROUPADD and USERADD from header since they're alljlam1-3/+1
handled within the usergroup script.