summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
AgeCommit message (Collapse)AuthorFilesLines
2015-07-25Introduce $LOWER_VARIANT_VERSION, this is used to store version info for variantsevan1-1/+3
Operating Systems. For SmartOS, store the result from running uname -v & trimming the joyent_ prefix. For OmniOS, store the result from processing /etc/release with awk(1) Reviewed by joerg@ bsiegert@
2015-07-04Remove USE_X11BASE and X11PREFIX.joerg1-3/+1
2015-06-04Introduce preliminary support for Bitrig to pkgsrcsevan1-1/+8
Initial patchset to add support by rodent@ Further adjustments made based on feedback by joerg@ Tested by myself with numerous bulkbuilds thanks to Patrick Wildt @ Bitrig Reviewed by bsiegert@ joerg@ wiz@
2015-04-29Introduce _USE_CWRAPPERS logic to ensure consistency, USE_CWRAPPERS couldjperkin1-1/+8
differ between a package and user setting, resulting in incorrect WRAPPER_* values being set from wrapper-defs.mk.
2015-04-27correct MACHINE_ARCH and compiler flags for HP-UX 64-bit ABItnn1-6/+12
2015-04-19Specify safer WRKSRC for meta packages. As they don't extract files,joerg1-1/+3
they won't create the subdirectory either. Since the SUBST targets try to change to WRKSRC first, they fail. This is seen with meta packages depending on Freetype2 when using X11_TYPE=native.
2015-03-14OS X Tiger & prior used X11 from XFree86 project which is installed insevan1-1/+3
/usr/X11R6, set X11BASE to this location on those versions. Reviewed by wiz@
2015-02-24Fix typo: NATIVE_MACHINE_ARCH, not NATIVE-MACHINE_ARCH. Thanks, prlw1!riastradh1-2/+2
2015-02-16Put back SCO LOWER_OPSYS changes.jperkin1-3/+3
2015-02-14Accommodate an -eabi{,hf} suffix in MACHINE_GNU_PLATFORM.riastradh1-4/+26
This is necessary to match what NetBSD `build.sh tools' generates for cross-compiler toolchains on earm. Also, split APPEND_ELF into APPEND_ELF and NATIVE_APPEND_ELF, so we don't get a spurious netbsdelf in NATIVE_MACHINE_GNU_PLATFORM when cross-compiling on amd64 for earm.
2015-02-01Revert "Move version part from LOWWER_OPSYS to LOWER_OPSYS_VERSUFFIX for sco.",obache1-3/+3
proposed/discussed is required for such changes.
2015-01-01Add a bunch of missing LP64PLATFORMS after reviewing the list in NetBSD'sdholland1-2/+4
build.sh: *-*-aarch64{,eb} *-*-ia64 *-*-mips64{eb,el} *-*-powerpc64 *-*-riscv64
2015-01-01Add BIGENDIANPLATFORMS and LITTLEENDIANPLATFORMS, like LP64PLATFORMS, fordholland1-1/+21
restricting broken packages.
2015-01-01Add support for BROKEN_ON_PLATFORM and BROKEN_EXCEPT_ON_PLATFORM, as perdholland1-4/+4
discussion on tech-pkg. BROKEN_ON_PLATFORM and NOT_FOR_PLATFORM are the same, except that (now) BROKEN_ON_PLATFORM sets PKG_FAIL_REASON and NOT_FOR_PLATFORM sets PKG_SKIP_REASON. BROKEN_EXCEPT_FOR_PLATFORM and ONLY_FOR_PLATFORM correspond in the same way. The idea is that going forward we will distinguish unbuildable packages that theoretically ought to be fixed (these are BROKEN) from packages where it doesn't make sense to build (these are NOT_FOR)... examples of the former include most non-64-bit-clean packges; examples of the latter include OS-specific language bindings. A general review of the uses of NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM (converting many of them to BROKEN...) is coming up. Similarly, a general review of the uses of PKG_FAIL_REASON and PKG_SKIP_REASON is coming up. For this to become useful, pbulk needs to be taught to report failing and skipped packages differently - the idea is that failing packages should be reported up front and skipped packages don't need to be. This has not been done yet, but one set of things at a time...
2014-12-30Remove pkg_views support, second part: infrastructure.wiz1-25/+1
2014-12-07undefined PKGSRC_KEEP_BIN_PKGS must not be evaluated unconditionally.obache1-2/+2
2014-12-06Add a new definition, PKGSRC_KEEP_BIN_PKGS, which defaults to "no".agc1-1/+9
This definition controls whether the binary package which is built during package installation will be copied to pkgsrc/packages/All. To retain binary packages in pkgsrc/packages/All, set PKGSRC_KEEP_BIN_PKGS=yes in environment or MAKECONF. If this is not set, binary packages will not be preserved after their WRKDIR is removed. This may not be what you want. To preserve the status quo since 2013/05/22, and just delete the binary package after it's built, the default for PKGSRC_KEEP_BIN_PKGS is "no", or it can be explicitly set. As reviewed on tech-pkg.
2014-11-29Move version part from LOWWER_OPSYS to LOWER_OPSYS_VERSUFFIX for sco.obache1-3/+3
2014-11-18Sync MACHINE_ARCH -> GNU_ARCH mapping table with NetBSD. Most noticablejoerg1-4/+23
change outside ARM is going to i486 as platform name for x86.
2014-08-14Split SMF handling across bsd.pkg.mk and bsd.prefs.mk. Should fix issuesjperkin1-4/+1
with packages which include bsd.prefs.mk before setting SMF variables.
2014-05-06Move INIT_SYSTEM to bsd.prefs.mk, allowing it to be tested injperkin1-1/+9
package Makefiles when packages perform custom rc.d handling.
2014-05-05Add amd64 to LP64PLATFORMS, OpenBSD returns amd64 instead of x86_64ryoon1-2/+3
No objection on public mailinglist.
2014-04-07Define OBJECT_FMT for FreeBSD.asau1-1/+3
Ignore long time obsolete FreeBSD 1-3 and consider FreeBSD ELF-only.
2014-03-14Add SCO OpenServer 5 and 6 support, 6 support is not tested yet.ryoon1-1/+14
2014-03-07Detect newer RedHat distributions.jperkin1-2/+2
2014-02-22Use .elif, not .else ifryoon1-2/+2
2014-02-20Support X11BASE?=/usr for native X11 on RedHat and derivatives.jperkin1-1/+3
2014-02-14tell wget as a tool.obache1-1/+3
2013-12-19Improve support for HTTPS master site URLs:tron1-1/+11
As the default fetch program "tnftp" (in "pkgsrc" and all released versions of NetBSD) doesn't support HTTPS prefer "fetch" (DragonFlyBSD, FreeBSD and Minix) or Curl (CygWin, Linux, Mac OS X, Solaris) if available. Change during pkgsrc-freeze approved by Greg Troxel and Thomas Klausner.
2013-09-12Introduce CATMAN_SECTION_SUFFIX which if set to 'yes' will ensure thatjperkin1-1/+3
catman pages are installed with a suffix which matches their section instead of the default '.0'. Enable it by default on SunOS, which requires that particular layout.
2013-07-19Set OS_VARIANT for OmniOS.ryoon1-1/+3
* OmniOS (SunOS variant) is shipped with readline 6.2. OS_VARIANT=OmniOS will be used by devel/readline/buildlink3.mk.
2013-04-28Introduce COMPILER_INCLUDE_DIRS, COMPILER_LIB_DIRS and SYSTEM_DEFAULT_RPATH.obache1-1/+5
default value are _OPSYS_INCLUDE_DIRS, _OPSYS_LIB_DIRS and _OPSYS_DEFAULT_RPATH, defined in mk/platform/${OPSYS}.mk. (maybe defined with compiler/development tools specific variables).
2013-04-03normalize LOWER_ARCH i?86 for Cygwin, same as Linux.obache1-2/+4
2013-03-01bsd.prefs.mk: add definitions for Minix. PR pkg/45046 OK by agc.tcort1-1/+6
2013-02-23native X11BASE=/usr on Cygwin.obache1-2/+2
2013-02-15set Cygwin kernel name to OS_VARIANT for further usage.obache1-1/+2
2013-02-10Add preference for Cygwin.obache1-2/+11
2013-01-23X11 (from the Xquartz distribution) gets installed under "/opt/X11" undertron1-2/+5
Mac OS X Mountain Lion. "/usr/X11" is only a symbolic link. Use the correct path because buidlink3 will otherwise filter out "-I/opt/X11/include" which causes build failures of e.g. the "cairo" package.
2012-12-15Set X11_ENCODINGSDIR correctly for builtin case as well as modular.markd1-1/+5
2012-12-09Update X11_ENCODINGSDIR for fonts/encodings change.wiz1-2/+2
From markd.
2012-08-14Make "user-destdir" the default PKG_DESTDIR_SUPPORT valueasau1-2/+2
since this is the general case these days and other cases are exceptions. This simplifies development and prevents making some mistakes.
2012-08-14Introduce explicit name for no staged installation support: "none".asau1-6/+6
Keep "none" a default value for PKG_DESTDIR_SUPPORT for now.
2012-07-27Set default ABI on Solaris for SPARC too.jperkin1-2/+2
2012-07-02Introduce OS_VARIANT. This variable can be used to differentiate operatingjperkin1-1/+10
systems which share the same base system but offer contrasting environments, for example the various illumos forks which all identify as "SunOS 5.11". Detect SmartOS and set OS_VARIANT accordingly.
2012-06-14Set a default Solaris/x86 ABI, restores previous behaviour when bootstrapjperkin1-1/+2
is ran without --abi.
2012-06-11Set MACHINE_ARCH=x86_64 when ABI=64 on Solaris/x86, required for packagesjperkin1-3/+6
such as devel/gmp which do their own ABI determination. Full clean bulk build with this change: http://mail-index.netbsd.org/pkgsrc-bulk/2012/06/11/msg008920.html looks good.
2012-03-19Drop imake-check logic from X11 components' builtin.mk.joerg1-17/+17
Always use xorg-cf-files and imake from pkgsrc, replacing xpkgwedge. Always install man pages, not cat pages when using imake. Unify the various imake PLIST variables in preparation for dropping. Adjust xbattbar for the new expectations.
2012-01-17Simplfy the MACHINE_ARCH/LOWER_ARCH settings on Linux.sbd1-8/+1
1) Set LOWER_ARCH to the filtered uname -m output. 2) Set MACHINE_ARCH to LOWER_ARCH. 3) Brace LOWER_ARCH in a !defined block add it to MAKEFLAGS.
2011-11-28for X11_TYPE=native, default X11BASE to /usr/X11R7 on NetBSD ifjmcneill1-1/+3
X11FLAVOUR is "Xorg", so it is set right even when x* sets aren't installed ok joerg
2011-10-26Add the minor number of the OS version to LOWER_OPSYS_VERSUFFIX.hans1-2/+2
Configure scripts tend to use it to distinguish different SunOS versions.