summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
AgeCommit message (Collapse)AuthorFilesLines
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
2003-01-12efficiency++;jschauma1-6/+6
Make can take care of substitutions itself, so we don't need to use echo VAR | sed or echo VAR | tr Suggested by seb.
2003-01-12On Linux, s/i.86/i386/ for LOWER_ARCH and MACHINE_ARCH as suggested byjschauma1-1/+3
Jeremy C. Reed on tech-pkg. Even though bootstrap's bmake will do this at build-time, this ensures that even older bmake's don't fail if a package checks it for == i386.
2003-01-05Remove a unused hack (it was only used by pthread.buildlink.mk, which isjlam1-13/+1
now gone).
2002-12-18Introduce _OPSYS_HAS_INET6, and use it to determine the defaultschmonz1-18/+8
value of USE_INET6.
2002-12-15Previous commit breaks pkgsrc on NetBSD current since OS_VERSION isn'ttaca1-2/+4
pure numeric value "1.6K". So, sperate ".if" directive comparing OS_VERSION into two ".if" directives.
2002-12-15Default to USE_INET6 = NO on Darwin < 6.0, whose IPv6 bits are a red herring.schmonz1-1/+3
2002-12-12Make sure that on IRIX{,64} LOWER_OPSYS matches what most configurejschauma1-1/+5
scripts seem to expect. While we're at it, add a vendor.
2002-12-10Remove trailing whitespace.wiz1-4/+4
2002-11-30turn on USE_INET6 in a KAME IPv6 environment other than NetBSD.grant1-2/+5
2002-11-17LOWER_VENDOR is 'pc' on FreeBSD only if running on i386.grant1-1/+5
2002-11-17Add initial pkgsrc FreeBSD support :-)grant1-1/+8
Tested on FreeBSD 4.7-RELEASE/i386.
2002-11-01When "make install" su's to root, su is invoked with the "-l" option, whichjlam1-1/+3
causes the shell environment to be discarded. This also discards OBJMACHINE or OBJHOSTNAME, which causes WRKDIR_BASENAME to be different between the "non-root" and "root" make targets and leads to the breakage seen in pkg/18879 by Simon Burge. Fix this by saving the OBJHOSTNAME or OBJMACHINE setting in MAKEFLAGS so that it is seen even after we "su -l" to root.
2002-11-01Whitespace and minor cosmetic fixes.jlam1-2/+2
2002-10-21Move X11BASE setting for Solaris to a more appropriate place now that wejlam1-3/+6
don't need to worry about USE_XPM.
2002-10-21Purge unused USE_XPM (use graphics/xpm/buildlink2.mk instead).wiz1-23/+1
2002-10-21Remove traces of now unused USE_XAW.wiz1-6/+1
2002-10-21Remove USE_MESA -- now unused.wiz1-33/+2