summaryrefslogtreecommitdiff
path: root/mk/platform
AgeCommit message (Collapse)AuthorFilesLines
2015-04-17Default to the native getopt when available.jperkin1-1/+2
2015-04-17Stop defaulting to the builtin mit-krb5, it's an old copy which isjperkin1-2/+1
unlikely to be updated any time soon, and is preventing some Samba Kerberos features from working correctly.
2015-03-19Report that SunOS 5.10 and older don't have "err.h".tron1-1/+4
Change during freeze approved by Jonathan Perkin.
2015-02-16Remove obsolete bulk build variables.jperkin1-8/+1
2015-02-01Revert "Drop obsolated old bulk build related variable settings."obache1-1/+8
proposed/discussed is required for such changes.
2015-01-0310.9 also has Xcode 6.gdt1-2/+5
Note that older os versions sometimes get xcode updates and that pkgsrc generally expects xcode that is up-to-date relative to the base os.
2015-01-03My OS X Yosemite machine says Xcode is version 6.1.1.ryoon1-2/+2
2014-11-22Do not use gcc-specific compiler flags on Mac OS versions that come withbsiegert1-1/+6
clang. Update version for bootstrap-mk-files. Patch provided by Todd Kover in PR pkg/48966.
2014-11-21Drop obsolated old bulk build related variable settings.obache1-8/+1
2014-09-10Expand --version-script removals for SunOS back out into package Makefilesjperkin1-2/+1
rather than trying to consolidate into a single fnmatch. There aren't that many of them, and it will aid the integration of cwrappers which doesn't support globs.
2014-09-02Default to X11_TYPE=modular on netbsd-5.gdt1-2/+4
Base xsrc on netbsd-5 has not really worked with pkgsrc for a while, because various programs need newer versions of various X pieces. The 2014Q2 official bulk builds are missing about 1500 packages as a result of this. Therefore, switch to modular on netbsd-5 (as netbsd-4 has been for a very long time), which should result in more useful binary packages for netbsd-5 for 2014Q3. (There is a notion of updating netbsd-5 base xsrc to more modern xorg. If that happens, and there's a 5.x formal release, and builds show that pkgsrc with native succeeds on it, this can perhaps be flipped back. Odds are that's not going to happen, and it's overwhelmingly unlikely to happen soon.) Anyone who prefers to stay with native can set X11_TYPE=native in mk.conf. Note that this is about pkgsrc and specifically the default dependencies for pkgsrc programs that use X11, so the native servers are unaffected and can be run from /usr/X11R7, the same as they are now, without any changes being necessary. (This message is in fact being typed on a system with a native server, native xterm and modular libs for pkgsrc.) Discussed on tech-pkg, tech-x11 multiple times over the last 6 months or so, and specifically encouraged by wiz@.
2014-08-28Expand out the list of GNU ld flags we want to remove, rather than applyingjperkin1-2/+11
a blanket removal of any long options, richard@ is concerned this may affect packages which use the long options now available in newer SunOS ld. Whilst here, transform --rpath to -R, used by a few packages.
2014-08-28Remove any -Wl,--* arguments, they are guaranteed to be GNU ld specificjperkin1-2/+2
and unsupported by the SunOS linker. Tested to only have positive results in a bulk build.
2014-08-21Add -Wl,-export-dynamic to the list of GNU ld patterns to remove.jperkin1-1/+2
2014-08-17Don't use "/bin/ksh" as wrapper shell under Mac OS X Mavericks.tron1-2/+3
It frequently crashes, at least if you use parallel builds.
2014-08-14Fix packages creation on Interix.cheusov1-2/+2
User/group names are used instead of uid/gid. Problem with spaces inside user/group name should be fixed by Cygwin support added some time ago.
2014-08-13Interix has dlopen(3) and family, they are provided by gcc (Interix-6.1).cheusov1-1/+7
pkgsrc'c check is broken, so, we set IS_BUILTIN.dl to "yes".
2014-08-01Document what Yosemite looks like (modulo XCode, which I haven't needed).schmonz1-1/+2
2014-07-25Fix shlib check error under DragonFly 3.8.1.ryoon1-3/+3
It has no libc.so.8 in /usr/lib.
2014-06-10Always use OpenPAM as fallback PAM implementation if a native one isjoerg1-2/+0
missing. Drop PAM_ACCEPTED and PAM_TYPE as unused or redundant.
2014-06-09-lpthread not needed, it's in libroot.obache1-2/+2
2014-05-18catch up to /boot/common removal, adust header/library location.obache1-1/+8
noticed by diger in pkgsrc-users@.
2014-05-18Haiku has groupadd now.obache1-2/+4
noticed by diger in pkgsrc-users@. While here, enable useradd only for the case groupadd exists, because former useradd is interactive command, not usable with pkgsrc framework.
2014-05-18On Haiku:obache1-4/+4
ulimit -m: invalid option ulimit -d: data sg size: cannot get limit: Invalid Argment ulimit -s: stack size: cannot modify limit: Invalid Argment noticed by diger in pkgsrc-users@.
2014-03-19MirBSD: remove -fvisibility=hidden until there is a version of gcc thatbsiegert1-2/+4
supports it.
2014-03-14Add SCO OpenServer 5 and 6 support, 6 support is not tested yet.ryoon1-0/+76
2014-03-11Introduce infrastructure support for SMF.jperkin1-1/+6
SMF is the Service Management Facility, the default init system in Solaris and derivatives since version 10. This adds "smf" to the list of supported INIT_SYSTEM types, and makes it the default init system on platforms where it is available. Packages can introduce SMF support by providing a manifest file, by default located in ${FILESDIR}/smf/manifest.xml but manifests under ${WRKSRC} can be used too if the package source includes one. SMF method scripts are supported too if required, using SMF_METHODS in a similar manner to RCD_SCRIPTS. Many parts of the SMF infrastructure are configurable, see mk/smf.mk for the full details.
2014-03-07When building 32-bit packages on x86_64 GNU ld isn't smart enough tojperkin1-1/+8
figure out the target architecture based on the objects so we need to explicitly set it. This allows bootstrap --abi=32 to complete successfully on x86_64.
2014-02-20Prefer the native libexecinfo implementation by default.jperkin1-4/+5
2014-02-20Prefer the native libinotify implementation by default.jperkin1-1/+2
2014-02-19Use the _OPSYS_PREFER mechanism rather than LIBC_BUILTINS.jperkin2-4/+14
2014-02-14document _OPSYS_PREFER.<pkg>obache1-1/+4
2013-12-31Check for stdio.h in /usr/include test, as on upgrades the /usr/includejperkin1-3/+4
directory may still exist containing legacy application headers. Noticed by schmonz. Also add Mavericks to the version table while here.
2013-11-24Don't use "${ECHO}" which isn't defined yet, hard code "echo" instead.tron1-2/+2
As this doesn't have to be portable anyway it won't cause problems.
2013-11-24Handle older versions of xcrun.jperkin1-2/+2
2013-11-23Use xcrun to determine the full path to the SDK, and use the headers fromjperkin1-13/+13
that location in the new find-headers infrastructure when they have not been installed into /usr/include. This allows us to remove the hardcoded builtins, as they can now be correctly determined automatically.
2013-11-23fixes 3rdparty header pathobache1-2/+2
2013-11-01OSX Mavericks and Xcode 5 no longer ship system headers in /usr/include, theyjperkin1-1/+13
are instead moved to SDK-specific locations. This breaks many builtin checks which assume headers are in a fixed place. Rather than trying to dig around finding where Xcode.app might be installed, just override IS_BUILTIN for libraries that we know exist.
2013-11-01Move platform-specific code to the platform file.jperkin1-1/+8
2013-10-13Remove config.rpath override file and related code.wiz2-4/+2
This file is from libtool-1.x, which is not in pkgsrc any longer (using libtool-2.x since 2009). Also, it was only used for packages using autoconf-2.13 AND libtool; I found three packages in pkgsrc with that combination, and all of them still build on NetBSD-6.99.24/amd64 after this change.
2013-09-12Introduce CATMAN_SECTION_SUFFIX which if set to 'yes' will ensure thatjperkin1-1/+2
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-09-04Introduce _OPSYS_PREFER.<pkg> variables as a way to set an advisoryjperkin4-15/+15
per-platform default. Previously PREFER.<pkg> was used, and as that has the highest precedence it meant the defaults could not be overridden with the PREFER_PKGSRC and PREFER_NATIVE user variables. While here, set the openssl default for SunOS back to pkgsrc, now that users who wish to use the builtin can do so via PREFER_NATIVE=openssl.
2013-08-31CPP is /bin/cpp on Cygwin.obache1-1/+2
2013-08-27fix openssl builtin support, at least for solarisrichard1-2/+2
2013-08-16Move platform-specific settings to the platform file.jperkin1-1/+5
2013-08-16Use the native mit-krb5 implementation by default on SunOS.jperkin1-1/+5
2013-07-26Add (Debian) GNU/kFreeBSD port.ryoon1-0/+74
Similar to GNU/Linux. Bump bootstrap-mk-files to 20130727.
2013-07-23Fix typo.ryoon1-2/+2
libossaudio is unavailable.
2013-07-15Default to using the native version of libexecinfo on SunOS.jperkin1-2/+3
2013-07-12Rename the PKGNAME for the OPSYS-specific user packages to include the OPSYS,jperkin4-8/+8
so that they are correctly calculated as independent. This avoids issues in bulk builds where the package version was taking precedence and causing the wrong user package to be depended upon.