summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
AgeCommit message (Collapse)AuthorFilesLines
2004-04-04Make USE_XPKGWEDGE default to "yes", as announced on tech-pkg@ last week.agc1-2/+2
2004-03-11Add Interix bits.tv1-1/+5
2004-03-09Add LOWER_OPSYS_VERSUFFIX on FreeBSD platforms, so that the majorrecht1-1/+10
number is included in MACHINE_GNU_PLATFORM. Fixes at least the build of wip/mingw-gcc. Patch based upon the one provided by Michal Pasternak in PR 23856.
2004-02-18* Move pkgsrc/mk/compiler/bsd.compiler.mk to pkgsrc/mk/compiler.mk.jlam1-15/+1
Package Makefiles may now directly include compiler.mk. * Don't include compiler.mk within bsd.prefs.mk any longer. It was only included for the purposes of defining CC_VERSION. Packages that want to test the value of CC_VERSION should now first include "../../mk/compiler.mk". Any GCC_REQD statements in package Makefiles should be set before compiler.mk is included. * Simpllfy pkgsrc/mk/compiler/*.mk files as a result of not needing to be included indirectly by bsd.prefs.mk. We remove the special handling associated with detecting whether the file was included from within bsd.prefs.mk. These files are now much more straightforward to write and understand. * G/C the BSD_PREFS_MK stack mechanism as the only users (compiler/*) no longer need it. * Ensure that directories are prepended to the PATH only from within bsd.pkg.mk.
2004-02-14Convert a debugging definition back into the real thing.jlam1-3/+2
2004-02-14add URL to my post to tech-pkg to deprecated Zoularis message.grant1-1/+3
2004-02-14deprecate Zoularis: remove any tests for ZOULARIS* and bomb ifgrant1-10/+6
${LOCALBASE}/bsd/share/mk/zoularis.mk exists.
2004-02-13Don't use the new pkg_info options unless the the pkg_install tools arejlam1-12/+19
new enough to support them. pkgsrc requires updated pkg_install for older NetBSD releases and will ask the user to install them as the first step to using pkgsrc, but the error messages about pkg_info not supporting the "-K" option were confusing.
2004-02-06If we're passing through MAKEFLAGS variables whose values may containjlam1-7/+7
spaces, use the :Q modifier instead of double-quoting the value. This avoids breakage when executing the just-in-time su targets.
2004-02-06Hiding the PATH from certain phases of the build only accidentally workedjlam1-1/+17
due to a type on gcc.mk that causes the ${_GCC_PREFIX}/bin to always be prepended to the PATH. The problem that was hiding was "make" resolving to ${TOOLS_DIR}/bin/make if the package used GNU make, which broke building since the package Makefile is a BSD Makefile and we passed PATH to some phases of the build. Fix this by expanding MAKE to the full path to ${MAKE} in bsd.prefs.mk. We also garbage collect the now useless checks for PHASES_AFTER_BUILDLINK that cluttered the PREPEND_PATH code.
2004-02-05Simpilfy the test for whether we're inside bsd.prefs.mk.jlam1-3/+3
2004-02-05Include bsd.compiler.mk inside both bsd.pkg.mk and bsd.prefs.mk and definejlam1-1/+9
a stack-like mechanism in bsd.prefs.mk to detect when a we're inside bsd.prefs.mk.
2004-02-01Use the new compiler selection framework instead of the old one.jlam1-5/+5
2004-01-27"fetch" is also a distinct build phase.jlam1-1/+2
2004-01-25Purge one more instance of _NULL_SUFFIX. Fix by Marc Recht.jlam1-2/+2
2004-01-25pkgsrc requires PKGTOOLS_REQD>=20030918, so we don't need to conditionalizejlam1-7/+1
passing "-S" to pkg_admin.
2004-01-23Move all of the code that sets USE_XPKGWEDGE from bsd.pkg.mk intojlam1-22/+39
bsd.prefs.mk as it's needed in setting X11PREFIX to the correct value, which is also done in bsd.prefs.mk. This is the follow-through to the temporary fix in previous revision (1.141) of bsd.prefs.mk.
2004-01-23Temporary fix for xpkgwedge'd packages which were getting buildlinkedagc1-2/+3
with a prefix of X11BASE, rather than LOCALBASE - check whether USE_XPKGWEDGE is defined to {"YES", "yes"} as well as looking for the existence of the xpkgwedge definition file when calculating the value of X11PREFIX.
2004-01-21Introduce concept of the "phase" that we're in as we progress throughjlam1-1/+15
fetching, extracting, configuring, building, etc. of a package. We can check what phase we're in by examining the value of ${PKG_PHASE} and comparing against PHASES_AFTER_<phase>, which list phases that are "greater than or equal to" <phase>. One useful example of how to use PKG_PHASE is: .if !empty(PHASES_AFTER_EXTRACT:${PKG_PHASE}) # # Some variable settings or targets here that rely on dependencies to # already be installed, or ${WRKDIR} to be created, etc., as these are # things that should have happened by the time "make extract" is # completed. # .endif
2003-12-28Indent to make nested blocks easier to distinguish.agc1-4/+4
2003-12-28Fix back ".endif" logic which breaks "USE_INET6" on many platforms.tron1-2/+2
2003-12-27Override predefined "USE_INET6" if "USE_SOCKS" is defined.tron1-2/+2
2003-12-27If "USE_INET6" is already defined (e.g. by NetBSD-current's "bsd.own.mk")tron1-4/+10
convert it to uppercase to make checks in packages like "bind9" work.
2003-12-11For BSD/OS, the customized libtool uses "bsdi", so setreed1-1/+4
LOWER_OPSYS to that.
2003-12-10override bootstrap-pkgsrc's incorrect OBJECT_FMT on NetBSD 1.4. fromgrant1-2/+13
krister. XXX this should also be fixed in bootstrap-pkgsrc and bmake's mk-files.
2003-12-05For BSD/OS, get rid of that libtool work-around ofreed1-6/+1
renaming LOWER_OPSYS to match. I will fix ltconfig to work with "bsdos" too instead.
2003-12-03In bsd.prefs.mk, get rid of possible "/" in OPSYS name and definereed1-2/+7
LOWER_OPSYS for libtool use under BSD/OS. Add initial support for using pkgsrc under BSD/OS. This was tested under BSDI BSD/OS 4.3.1. (Thank you D. Hege.) (Need to add BSDOS.x11.dist later.) CVS ----------------------------------------------------------------------
2003-10-23The "elf" goes after "netbsd", the version number after that.fredb1-2/+2
2003-10-11use 'solaris2' instead of 'solaris' in MACHINE_GNU_PLATFORM togrant1-2/+3
fix breakage in some GNU configure scripts. based on patch from Jonathan Perkin in PR pkg/20701.
2003-10-08Use the -S argument to pkg_admin(1) if it exists.agc1-2/+8
2003-09-24make CC_VERSION available to packages by including bsd.prefs.mk.grant1-1/+7
it is of the form 'gcc-<version>' if gcc is being used, or empty otherwise (for now). requested by tron.
2003-09-17binary format detection for OpenBSD. Frederick Bruckmanitojun1-1/+9
2003-09-16fix some indentationgrant1-29/+29
2003-09-13In cases where we need the best match for a pkgpattern, usejlam1-1/+8
"${PKG_BEST_EXIST} pkgpattern" instead of "${PKG_INFO} -e pkgpattern". The latter can return multiple package names if there are multiple versions of a piece of software installed. PKG_BEST_EXIST is defined to be "${PKG_ADMIN} -b -d ${_PKG_DBDIR} -s "" lsbest", so it searches for the best installed package that matches the given pkgpattern or else returns the empty string. Bump PKGTOOLS_REQD to 20030912 since pkg_admin(1) needs to know about "-b" and "-d <dir>".
2003-09-12move a SunPro tweak to compiler.mk.grant1-9/+1
2003-09-12Move the default settings for USE_BUILDLINK[23] from bsd.pkg.mk intojlam1-1/+7
bsd.prefs.mk so that they may be tested/used in buildlink[23].mk files.
2003-09-02Merge pkgviews-mk branch into the HEAD by running:jlam1-8/+48
cd pkgsrc/mk cvs update -Pd -A cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
2003-08-31Create new variables PKG_*_CMD that contain just the paths to the variousjlam1-7/+13
pkg_install tools.
2003-08-21Avoid circular dependency on gcc if USE_GCC[23] is set.gavan1-1/+3
2003-08-16There are many uses for a common log file, so define one that may bejlam1-1/+6
picked up and used by tools.mk, bsd.buildlink2.mk, etc.
2003-07-13move gcc selection back to bsd.pkg.mk as the top-level Makefilegrant1-15/+1
includes bsd.prefs.mk.
2003-07-13don't set USE_GCC2 by default as it implies the use pkgsrc gcc2, andgrant1-13/+13
move handling of gcc shared libraries to bsd.prefs.mk.
2003-07-09More support bits for native Sun compilers (on Solaris).salo1-1/+9
Sun's C++ compiler (CC) doesn't support passing arguments to ld via -Wl flag, remove this flag from the buildlink2 environment.
2003-07-09Handle blank MACHINE_ARCH on Linux (as seen on 20030630 bootstrap kit)abs1-2/+2
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-06-05Use a better value as LOWER_OPSYS for IRIX.jschauma1-3/+3
2003-04-21back out previous, it does not work as it should.grant1-4/+7
2003-04-21ensure LOWER_ARCH always gets set on Solaris, not only if MACHINE_ARCHgrant1-7/+4
is non-sensical. shuffle some definitions around to follow style of other entries. semi-related to a tr(1) bug observed by sommerfeld@ Solaris 10/i386.
2003-04-15add OPSYS_{,NO_}WHOLE_ARCHIVE_FLAG which defines the argument passedgrant1-1/+6
to the linker to (not) extract all symbols from static archives and export these variables to packages as {,NO_}WHOLE_ARCHIVE_FLAG. these are not currently set for IRIX.
2003-03-31${UNAME} -p is a good value for LOWER_ARCH on Irix as well.jschauma1-1/+2