summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
AgeCommit message (Collapse)AuthorFilesLines
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
2003-03-28Quote tr arguments.wiz1-2/+2
2003-03-14(1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;jlam1-1/+5
Makefiles simply need to use this value often, for better or for worse. (2) Create a new variable FIX_RPATH that lists variables that should be cleansed of -R or -rpath values if ${_USE_RPATH} is "no". By default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and additional variables may be appended from package Makefiles.
2003-01-25Add some LOWER_VENDOR definitions on Linux to better customize packagesjschauma1-6/+14
in the future (on Debian, for example, there is no libtermcap, and we need to depend on ncurses etc.)
2003-01-15Make BUILD_DIR always point to a physical path by invoking /bin/pwd insteadjlam1-3/+3
of relying on the shell's builtin pwd. This makes BUILD_DIR consistently point to the correct directory regardless of the definition of SHELL. This fixes elusive some buildlink2 errors due to the fact that BUILDLINK_DIR is derived from BUILD_DIR and some paths were incorrectly being translated.
2003-01-15Revert previous change. Defining BSD_PREFS_MK instead of BSD_PKG_MKjlam1-4/+4
breaks too many users' /etc/mk.conf files that have a .ifdef BSD_PKG_MK # /usr/pkgsrc stuff .else # /usr/src stuff .endif structure. We'll think of another way to protect against multiple inclusion of bsd.pkg.mk and bsd.prefs.mk.
2003-01-14Define and check for BSD_PREFS_MK, not BSD_PKG_MK. Proposed by Jan Schaumann.wiz1-4/+4
2003-01-14On Linux, LOWER_ARCH is generally not yet defined. Move assignment.jschauma1-5/+4
2003-01-12According to seb, make on 1.5 does not know about ${VAR:tl}, so let's go back tojschauma1-3/+3
echo VAR | tr A-Z a-z