summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
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
2003-06-06If we want to try a bulk-build on a non-NetBSD platform, we need to takejschauma1-6/+38
care not to blow away our bootstrap-pkgsrc stuff in the initial phase. Also mark devel/bmake and devel/mk-files as broken on non-NetBSD so as not to blow away our precious files from the bootstrap process in the middle of a bulk-build. Now let's see if bulk-building works on Linux...
2003-06-06Found some more programs that may be in either /bin or /usr/bin dependingjschauma1-2/+14
on what todays flavor of Linux is.
2003-06-06Introduce a variable "LINK_ALL_LIBGCC_HACK" whichdrochner1-1/+7
is "-Wl,--whole-archive -lgcc -Wl,--no-whole-archive" on NetBSD-1.5* and empty otherwise. This is needed on build of programs which dlopen() extension libraries. (Some pkgs do the libgcc linking already, but independantly of the OS version.)
2003-06-05Introduce the MASTER_SITE_DEBIAN variable. It currently contains a list ofjmmv1-1/+38
all primary mirror sites, as listed in http://www.debian.org/mirror/list.
2003-06-05Add EMACS_USE_XAW3D.markd1-1/+6
2003-06-05Use a better value as LOWER_OPSYS for IRIX.jschauma1-3/+3
2003-06-04Set the AWK environmental variable to the value of ${AWK} (as given by alljmmv1-2/+2
defs.*.mk files) when running the configure script. Most of them look for an awk parser, and this way they will always pick the right one without having to check all the possibilities.
2003-06-03Add "gd" locale directory, used (at least) by gnome-pim. Pointed out byjmmv12-12/+60
Douglas Brebner in private mail.
2003-06-03Add yi locale (used by libgnomeui).jmmv12-12/+60
2003-06-03Add the be locale directory.jmmv7-7/+35
2003-06-03Add ee locale directory, used by xmule.jmmv12-12/+60
2003-06-01more wording tweak for missing vulnerability file.hubertf1-2/+3
2003-06-01Improve message when vulnerability file is not there.hubertf1-2/+4
2003-05-29include gcc.buildlink2.mk if USE_GCC_SHLIB is defined. this replacesgrant1-1/+7
the (now deprecated) USE_CXX.
2003-05-29Now that we're checking more thoroughly for vulnerabilities in the "do-fetch"agc1-21/+1
target via "check-vulnerable", there's no need to use "show-vulnerabilities" target when installing a package.
2003-05-28Add some, per default undefined, variables for the blender package.jschauma1-1/+31
2003-05-27add pulling in buildlink includes/libraries from lang/gcc, or gcc3grant1-0/+18
when USE_GCC3 is defined. ok'd by jlam@.
2003-05-25Define user-visible variable "PTHREAD_CFLAGS" that contains compilerjlam1-1/+9
options to compile/link pthreaded code.
2003-05-25Clarify comments to more explicitly note how to _not_ add the dependencyjlam1-5/+7
on the JDK.
2003-05-25Add ml and sr@Latn locale directories, used by libgnome.jmmv12-12/+108
2003-05-24Remove MPLAYER_USE_REALMEDIA, used by default on i386, powerpc and alpha.salo1-8/+1
2003-05-22Add es_ES locale dir (initially for sysutils/mc).salo7-7/+35
2003-05-22Convert MTOOLS_ENABLE_FLOPPYD to YES/NO from defined/undefined.salo1-4/+4
2003-05-22Add USE_LIBCRACK variable for PAM.wiz1-1/+6
2003-05-19In case license is not acceptable per /etc/mk.conf, tell user to view licensewiz1-2/+3
with "make show-license". Addresses PR 21616.
2003-05-18Check for the existence of the vulnerabilities file before telling peopleagc1-9/+13
that we're checking for vulnerabilities. If the vulnerabilities file can't be found, display a warning. Addresses PR 21572 from Robert Elz.
2003-05-18Add aleron, easynews, and heanet sourceforge mirrors.wiz1-2/+5