summaryrefslogtreecommitdiff
path: root/mk
AgeCommit message (Collapse)AuthorFilesLines
2001-09-24Fix cut and paste error in last commit.tron1-3/+3
2001-09-24Add "PKGVERSION" to "PLIST_SUBST" by default. Trailing package sourcetron1-1/+2
version numbers (e.g. "nb1") are automatically removed.
2001-09-21Add back descriptions of MOTIF12_TYPE and MOTIF12BASE and fixjlam1-7/+38
the descriptions of MOTIF_TYPE and MOTIFBASE lost during the mk.conf.example --> bsd.pkg.defaults.mk conversion. Also, document MOTIF_TYPE_DEFAULT and MOTIF12_TYPE_DEFAULT which are used as the final default values for MOTIF_TYPE and MOTIF12_TYPE. Note: none of these values need to be explicitly set, as motif.buildlink.mk will choose sensible values for all of these variables.
2001-09-21Do an immediate setting of MOTIF_TYPE and MOTIF12_TYPE so that thejlam1-3/+3
definition isn't recursive if values have already been assigned.
2001-09-21Include "bsd.own.mk" before "bsd.pkg.defaults.mk" because otherwise "?="tron1-7/+7
assignments in "/etc/mk.conf" won't work anymore.
2001-09-19Now that bsd.pkg.defaults.mk is in the tree, mk.conf.example can go away.agc1-1162/+0
2001-09-19setting MOTIFBASE explicitely breaks motif type auto detection,drochner1-3/+3
so comment it out
2001-09-18Add a new bsd.pkg.defaults.mk file, derived from the old mk.conf.example.agc2-1/+1150
This file is "included" automatically before <bsd.own.mk> includes /etc/mk.conf, so that pkgsrc-wide default values are set. It is now possible just to set values in mk.conf only where they differ from the default, thereby easing the problems of updating mk.conf when new values get added.
2001-09-14Fix problem with Solaris' /bin/sh not accepting an empty list in a forjlam1-2/+3
loop noted in pkg/13894 by Stoned Elipot <Stoned.Elipot@script.jussieu.fr>. The suggested fix was applied.
2001-09-14Document the new Motif-related variables. Deprecate USE_MOTIF in favor ofjlam1-60/+10
including motif.buildlink.mk, which contains more sophisticated and complete logic for detecting the various Motif options that may be installed. Though deprecated, USE_MOTIF is still recognized, though it does no more than include motif.buildlink.mk.
2001-09-14Define USE_X11BASE instead of just USE_X11. This makes motif.buildlink.mkjlam1-2/+2
match the behaviour of USE_MOTIF in setting PREFIX=${X11BASE}.
2001-09-13Document MOTIFBASE, MOTIF12BASE, MOTIF_TYPE, MOTIF12_TYPE.jlam1-7/+22
2001-09-13Set MOTIF12_TYPE and MOTIF_TYPE so that they may be used by other packagejlam1-1/+3
Makefiles.
2001-09-13Unify the special code to detect pre-installed Motif installationsjlam1-29/+103
(whether 2.0 or 1.2-compatible) into one file, motif.buildlink.mk. lesstif12/buildlink.mk now assumes that if you include it, then you actually want lesstif12. To select that you want a Motif-1.2-compatible installation, define USE_MOTIF12 in the package Makefile. If MOTIF12BASE is also defined, then assume it points to a valid Motif-1.2 installation. Otherwise, auto-detect whether /usr/dt is valid, or if we need lesstif12.
2001-09-13To verify a Motif-2.0 installation, test for the presence of <Xm/Xm.h> andjlam1-3/+3
<Xm/Gadget.h> instead of only <Xm/Xm.h>. This differentiates between Motif-2.0 and Motif-1.2 installations.
2001-09-13Clarify in the comments that this buildlink.mk file handlesjlam1-10/+10
Motif-*2.0*-compatible installations.
2001-09-13Switch default Motif type to OpenMotif, as it's a "real" Motif with fulljlam1-6/+5
functionality. Default remains DT-Motif on Solaris. This doesn't affect users who already have LessTif installed, as motif.buildlink.mk will use an installed Motif package in preference to the default. I have compiled and run every package in pkgsrc (as of today) that uses either USE_MOTIF or motif.buildlink.mk. They all function as well or better with OpenMotif as the installed Motif package as compared with LessTif. There was only one small API difference I detected between LessTif and OpenMotif in <Xm/Text.h>, where OpenMotif's Text.h includes <stdio.h> while LessTif's does not, but the only package that this affected (graphics/tcm) was fixed.
2001-09-13Set MOTIFBASE within the scope of the Motif-compatible package'sjlam1-6/+3
buildlink.mk as it uses values from the buildlink.mk for it's own value. Also don't pass MOTIFBASE to the MAKE_ENV as it causes the correct package buildlink.mk file to not be included.
2001-09-13Alter logic for choosing which Motif installation to use. It's now asjlam1-44/+47
follows: If MOTIFBASE is set, then assume it points to a valid Motif installation. If MOTIF_TYPE is set, then use the named Motif installation. If neither MOTIFBASE nor MOTIF_TYPE is set, then any pre-existing Motif installation is used, whether it is in /usr/dt or ${X11BASE} or a pkgsrc- installed Motif. Lastly, default to ${MOTIF_TYPE_DEFAULT}. This makes MOTIF_TYPE behave more like XAW_TYPE in that it explicitly chooses the Motif installation to use.
2001-09-12Add a just-in-time su mode for "make package" by factoring out the codeagc1-29/+34
whcih does the su(1), and using that. Also make the deinstall target use the same common code.
2001-09-11Make print-PLIST work again if no linux=procfs mounted.wiz1-6/+9
Patch by hubertf.
2001-09-10Add support for two environment variables to help update all yourmartin1-1/+12
installed packages and only rebuild everything once: STOP_DOWNLEVEL_AFTER_FIRST if set makes "make show-downlevel" stop a bit earlier (since with the other one below you will be only interested in the first downlevel pkg found). REBUILD_DOWNLEVEL_DEPENDS if set forces the pattern match for dependencies to fail whenever the installed pkg is not the version in the makefile (i.e. "make show-downlevel" would print a version mismatch for the dependecy). This causes all downlevel dependencies (and everything depending on them) to be rebuild. Enhancements, like making this all work with make command line flags and settings in /etc/mk.conf are welcome. A way to stop "make show-downlevel" through all upper levels of recursion imediately would be very usefull too.
2001-09-10Set the default value of WRKSRC in a slightly different way (from Hubertagc1-3/+2
Feyrer).
2001-09-10Define default value of WRKSRC again. It is required by the packages withoutkei1-1/+3
NO_WRKSUBDIR.
2001-09-09Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:agc1-4/+5
WRKSRC= ${WRKDIR} This is much cleaner, much more indicative of what happens, and removes another of the negative definitions (NO_.* = value).
2001-09-08Document MOTIF_TYPE, used as a hint to select the Motif installation tojlam1-1/+7
use.
2001-09-08Separate out the Motif-checking logic from lesstif/buildlink.mk into ajlam1-0/+103
separate file mk/motif.buildlink.mk.
2001-08-29Buildlink glue to provide strong-buildlinking for packages that use X11jlam1-0/+83
(not counting packages using imake) whether or not xpkgwedge is installed.
2001-08-28Fix typo:zuntum1-2/+2
avi{...,avitype} -> avi{...,type}
2001-08-27Since libtool has now been split, it's no longer necessary to have atv1-2/+2
BUILD_DEPENDS on libtool for the USE_LIBTOOL/non-USE_LTDL case; instead, just depend on libtool-base (thus skipping the libtool-info and libtool package compilation where appropriate).
2001-08-24print-PLIST: remove emul/linux/proc entries before sorting. No need tohubertf1-2/+2
waste processing time on data we're going to discard. Pointed out by Tomasz Luchowski <zuntum@netbsd.org>.
2001-08-24shuffle some whitespace to make it more obvious what is going onabs1-4/+6
2001-08-24 * When applying patches, also look in $LOCALPATCHES/$PKGPATH forhubertf2-6/+21
any local patches that the user wants to maintain outside of pkgsrc. * print-PLIST: ignore Linux procfs entries
2001-08-23dirname is in /usr/bin. Now buildlink has a fighting chance on Linuxabs1-2/+2
2001-08-23gnu patch is used under Linux as well as Solarisabs1-3/+3
2001-08-23'.endif' not '.fi'abs1-2/+2
2001-08-23Add a LIBOSSAUDIO definition that is passed through MAKE_ENV.jlam1-1/+4
2001-08-23Wrap this file in an .if ${OPSYS} == "NetBSD" so that it may be includedjlam1-1/+4
regardless of the operating system.
2001-08-23Create buildlink.mk files for the various Xaw libraries. Instead ofjlam1-0/+26
USE_XAW, a package Makefile may just include mk/xaw.buildlink.mk, which pulls in the correct buildlink.mk file depending on the value of XAW_TYPE. A package Makefile may also rely on LIBXAW being set to the correct libraries.
2001-08-23Set the default BUILDLINK_X11_DIR to ${X11BASE} so that in the absencejlam1-1/+6
of x11.buildlink.mk, it still points to a working X11R6 hierarchy.
2001-08-22By default, don't use pkgtools/buildlink-x11 to cause packages that usejlam1-26/+4
imake to be buildlinked as it's not necessary for those packages. Many thanks to Frederick Bruckman <fredb@immanent.net> for pointing this out. This is accomplished by ripping out all of the Makefile logic related to buildlink-x11. It will be added back in a separate file (as noted by the additional check for X11_BUILDLINK_MK, but will still not be the default.
2001-08-22Change a = to a += to allow adding to the value ofjlam1-6/+8
BUILDLINK_CONFIG_WRAPPER_POST_SED. Also some minor formatting changes.
2001-08-20Remove "-" from default su command. It's more reliable to let some of thetv1-2/+2
environment be inherited from pkgsrc during an implicit su for install; root's .-files may set variables that fiddle with how pkgsrc works.
2001-08-19Add AVIFILE_USE_QT for use by avifile package (as the moment only avifile-develzuntum1-1/+8
uses it)
2001-08-16change BUILD_DEPENDS+= bzip2-0.9.0b:../../archivers/bzip2 to >=0.9.0b;dogcow1-3/+3
otherwise, extracts fail when bzip2-1.0.1 is installed.
2001-08-14The TCSH_STATIC mk.conf definition has been removed in favour of aagc1-6/+1
static-tcsh package.
2001-08-14Add GNU_ARCH.sparc64 entry.skrll1-1/+2
This should fix pkg/13714 by Martti Kuparinen <martti.kuparinen@iki.fi>
2001-08-08Update build dependency on buildlink-x11 to >=0.7.jlam1-2/+2
2001-08-01ftp.digital.com seem to have dropped their cpan archive - switch to loadedabs1-2/+2
2001-07-30Sync locales from *.pkg.dist to *.x11.dist:hubertf3-3/+621
* NetBSD: $LOCALBASE/share/locale -> $X11BASE/share/locale * Linux: $LOCALBASE/share/locale -> $X11BASE/share/locale * SunOS: $LOCALBASE/lib/locale -> $X11BASE/lib/locale Side effect of this is that print-PLIST doesn't print locale dirs for X apps any more.