summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2003-07-12When generating a perl packlist, strip all leading slashes.wiz1-3/+3
From Sergey Svishchev in PR 21754.
2003-07-12Add PURE_FTPD_USE_PGSQL and use sane default for PURE_FTPD_USE_MYSQL.salo1-5/+10
2003-07-12Create directories with mode 0755, since that is what the mtreewiz1-4/+5
files expect. Noted by Toru TAKAMIZU in PR 22007, patch from seb@netbsd.
2003-07-11portability fixes:grant2-6/+5
quote a shell test, and run ${AWK} -f tflat instead of using #!/usr/bin/awk.
2003-07-11also set PTHREAD_LDFLAGS=-lpthread if we aren't using native threads.grant1-1/+2
2003-07-11Use new _OPSYS_NEEDS_XPKGWEDGE to simplify the check for whether we need ajlam1-6/+12
build dependency on xpkgwedge.
2003-07-11Rather than hardcoding IRIX into bsd.pkg.mk when checking if xpkgwedge isjschauma2-3/+5
needed let's use _OPSYS_NEEDS_XPKGWEDGE to be set in defs.${OPSYS}.mk
2003-07-11use /usr/xpg4/bin/exprgrant1-2/+2
2003-07-11Sync config.guess and config.sub to the latest.chris2-136/+211
Still have local diffs for sh5, so I'm not sure if sh5 still works (I've reapplied the patches).
2003-07-10minor style nitgrant1-6/+6
2003-07-10define user-visible variable PTHREAD_LDFLAGS that contains optionsgrant2-4/+27
to link pthreaded code, ala PTHREAD_CFLAGS. this adds support for systems which have no libpthread, but rather, have pthreads functions in libc_r, such as FreeBSD 5.x. export PTHREAD_CFLAGS and PTHREAD_LDFLAGS via MAKE_ENV.
2003-07-09Use proper compiler test.salo1-2/+2
(the former was unreliable anyway, there could be GCC installed as cc == no *gcc* pattern in path)
2003-07-09Append perl to the list of interpreters to be replaced if ${REPLACE_PERL}agc1-2/+2
is set, rather than a straight assignation.
2003-07-09Make REPLACE_PERL more general, so that it will work with any interpreter,agc1-5/+14
and also with multiple interpreters. Keep REPLACE_PERL for backwards compatibility.
2003-07-09More support bits for native Sun compilers (on Solaris).salo3-3/+28
Sun's C++ compiler (CC) doesn't support passing arguments to ld via -Wl flag, remove this flag from the buildlink2 environment.
2003-07-09In pre-config-override, don't trumpet the fact that we're doing nothing.agc1-2/+2
2003-07-09Handle blank MACHINE_ARCH on Linux (as seen on 20030630 bootstrap kit)abs1-2/+2
2003-07-09Don't insist on using/compiling GCC if different compiler is in use.salo1-2/+4
2003-07-09Introduce few new variables for (mostly) non-GCC compilers use with pkgsrcsalo1-1/+15
so compiler-dependent settings can be set later. USE_GCC2 - GNU Compiler Collection 2.x (default) USE_GCC3 - GNU Compiler Collection 3.x (used already) USE_MIPSPRO - Silicon Graphics, Inc. MIPSpro Compiler USE_SUNPRO - Sun Microsystems, Inc. WorkShop/Forte/Sun ONE Studio Compiler Collection (Intel compilers on Linux, anyone? :) )
2003-07-08Fix a typo in a commentagc1-2/+2
2003-07-08Fix for _CONFIGURE_PREREQ targets not being run when a package defines achris1-5/+10
do-configure target. To do this I've introduced a new target, pre-configure-overrides, that depends on ${_CONFIGURE_PREREQ}. It's run after pre-configure but before do-configure. This fixes pkg/22077, and allows benchmarks/benchfft to build correctly on a -current cats box. Reviewed by wiz@
2003-07-02When extracting a .zip archive, overwrite existing files without promping.jmmv1-2/+2
Fixes PR pkg/21732 by reed at reedmedia.net.
2003-07-02Use "$@" when it matters.seb1-2/+2
2003-07-02patch from seb@ to pass --split-size to gtexinfo >= 4.6.grant3-8/+20
thanks seb :)
2003-07-01Only consider as makeinfo's version the first version number looking wordseb1-2/+7
in `makeinfo --version'. This is needed for older makeinfo which output thing like: makeinfo (GNU texinfo 3.12) 1.68 Copyright (C) 1998 Free Software Foundation, Inc. .... This should fix the problem encountered by Thorsten Frueauf on 1.5.4_ALPHA (I reproduced it on stock 1.5.3) and reported in private email via jschauma@.
2003-06-30XLOCK_LIGHT is deprecated, but we still support it in xlockmore/Makefilejlam1-7/+1
until users figure out to install xlockmore-lite instead.
2003-06-29Introduce a variable called "MAKEINFO_ARGS", which may be used to passjschauma3-5/+17
arguments to makeinfo(1). This was made necessary by the fact that under IRIX64 makeinfo(1) does not use a default split-size of 50000, which breaks our PLISTs. After feedback from seb@, initialize MAKEINFO_ARGS per default to _OPSYS_MAKEINFO_ARGS, which is set in defs.<OPSYS>.mk (currently only for IRIX using 64-bit ABI).
2003-06-25Using GNU missing script as makeinfo seemed like a good ideaseb1-2/+4
when a package use the buildlink2 framework but does not define USE_MAKEINFO. Well it was not after all. This caused annoying messages because missing's commands emit annoying error messages when the script is invoked with only 'makeinfo' as argument (typically run this way by configure scripts). And more it does not handle makeinfo's '--output=...' argument. I first thought that it could be used as a nice way to get ride of the need for makeinfo when it was only dubiously run during build or installation of a package. But it also has the annoying behavior of creating empty files because of the typical automake generated Makefile target for info file build. Making the buildlink2's makeinfo hiding script only logging an error and doing 'exit 1' is actually a better tool to spot the need for makeinfo.
2003-06-25Better error handling.seb1-2/+2
2003-06-25At DEINSTALL time after un-registering info files from the Infoseb1-0/+4
directory file remove it if it is empty i.e. if it contains only one menu/entry line i.e. only one line starting with '*'. This allow INFO_DIR to be set to a package specific directory while not registering in the PLIST the Info directory file (${INFOR_DIR}/dir). Registering such an Info directory file in the PLIST is not really possible as a md5 signature of it holding the registered info entries would be stored in PKG_DBDIR. At deinstall time this signature would not be matched because the DEINSTALL script would have modified it by un-registering the info files from it. Hence the package removal would be reported as incomplete... You are probably right if this looks like a hack to you...
2003-06-25Only change the owner/group/mode of a directory tree if it's notjlam1-4/+4
pre-existing. This should fix pkg/21975 by Matthias Scheler.
2003-06-23Hand ABI to CONFIGURE_ENV and MAKE_ENV on IRIX.jschauma1-1/+4
2003-06-23Introduce MPLAYER_USE_MEDIALIB.salo1-1/+7
It's used to enable optional support for Sun mediaLib library. (only takes effect on Solaris).
2003-06-23Remove DOVECOT_USE_LDAP in favor of generic USE_OPENLDAP.salo1-7/+2
Correct USE_OPENLDAP comment accordingly.
2003-06-23default MAINTAINER is tech-pkg@jschauma1-2/+2
2003-06-19Introduce a new framework to handle info files, install-info andseb4-12/+221
makeinfo commands. The goal of the new framework is twofold: - reduce the number of '@exec' and '@unexec' in PLIST by using INSTALL/DEINSTALL scripts to handle entries addition/removal Info directory file. - achieve lighter dependencies by avoiding unnecessary run-time dependency on the gtexinfo package and if needed with the help of the standalone install-info command provided by the recently imported package pkgtools/pkg_install-info. A package must be sightly updated to use this new framework and must define the variable USE_NEW_TEXINFO. This variable will be removed from the pkgsrc tree when all package would have been updated. For details see section 10.24 of Packages.txt, comments in mk/{texinfo.mk,buildlink2/bsd.buildlink2.mk} and upcoming mail to <tech-pkg at netbsd dot org>.
2003-06-19Apply patch by Joachim Koenig-Baltes (joachim at handshake dot de) injschauma2-5/+23
followup to PR pkg/20529: Some libraries (in this example, a given Linux's native libpthread) don't come with a version number at all and/or are in fact symlinks. Test for this and act accordingly in fake-la. This allows packages that use pthread to buildlink under various Linuxen. Should close PR pkg/20529 and PR pkg/21854. Thanks, Joachim.
2003-06-17Change uptodate-digest check from excluding digest on 'digest-* | pkgchk-*)'abs1-15/+9
to excluding when ! -f ${DISTINFO_FILE}. Now packages without distinfo do not need to build digest before installing (such as cpuflags)
2003-06-14if defined, add CXX and CPP to the make environment, as per CC.grant1-1/+7
2003-06-14Add a ``show-needs-update'' target that checks each dependency to seeatatat1-1/+18
if it's up to date. For dependencies (including the current package) that are not up to date (or are not installed), a one line note is printed thusly: % cd audio/xmradio/ % make show-needs-update audio/mad => mad-0.14.2b => needs update to mad-0.14.2bnb1 audio/xmradio => (none) => needs install of xmradio-1.2
2003-06-14When setting up the lockfile, don't store whitespace printed by ps(1), soagc1-2/+2
that % make ===> do-fetch [digest-20021220] ===> Checking for vulnerabilities in digest-20021220 => Lock acquired on behalf of process 356 => Lock released on behalf of process 356 becomes % make ===> do-fetch [digest-20021220] ===> Checking for vulnerabilities in digest-20021220 => Lock acquired on behalf of process 814 => Lock released on behalf of process 814
2003-06-13add tab to list of separators for parsing BUILD_INFO.grant1-2/+2
fix from drochner@.
2003-06-12Initiate support for X11 apps under IRIX.jschauma6-25/+639
We introduce two new variables: ABI and IMAKEOPTS ABI determines the correct ABI to use and is set during bootstrapping from /etc/compiler.defaults. IMAKEOPTS are the options passed to imake to allow it to set the right definitions and find the right paths etc. Use IMAKEOPTS with SunOS, too. IRIX will always require xpkgwedge, since it's got a bogus X11BASE. When linking against libXaw, make sure we get the right ABI.
2003-06-10make OBJECT_FMT test of installed packages work again.grant1-2/+2
2003-06-10remove whitespace after '=' in the generated BUILD_INFO file, makinggrant1-5/+5
it more sane for parsing.
2003-06-09Add 'li' locale directory (used by glib2, version 2.2.2).jmmv12-12/+60
2003-06-08Use the public RPATH_FLAG in favor of the private _OPSYS_RPATH_NAME.jschauma1-2/+2
2003-06-07if CC is defined, add it to MAKE_ENVabs1-1/+4
2003-06-06export LINK_ALL_LIBGCC_HACK into the environment, just likedrochner1-1/+2
OPSYS_WHOLE_ARCHIVE_FLAG saves some lines in the pkg Makefiles
2003-06-06test, too, can be in /bin or /usr/bin. Apparently.jschauma1-1/+5