Commit graph

308 commits

Author SHA1 Message Date
jperkin
7df37958c1 Expand --version-script removals for SunOS back out into package Makefiles
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-10 15:59:33 +00:00
gdt
c127d72893 Default to X11_TYPE=modular on netbsd-5.
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-09-02 16:13:27 +00:00
jperkin
209b757821 Expand out the list of GNU ld flags we want to remove, rather than applying
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-28 15:46:35 +00:00
jperkin
2c9fb0222c Remove any -Wl,--* arguments, they are guaranteed to be GNU ld specific
and unsupported by the SunOS linker.  Tested to only have positive results
in a bulk build.
2014-08-28 10:54:07 +00:00
jperkin
bcc20d049d Add -Wl,-export-dynamic to the list of GNU ld patterns to remove. 2014-08-21 15:31:24 +00:00
tron
9cea3f4878 Don't use "/bin/ksh" as wrapper shell under Mac OS X Mavericks.
It frequently crashes, at least if you use parallel builds.
2014-08-17 08:32:32 +00:00
cheusov
eec1402772 Fix packages creation on Interix.
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-14 00:21:24 +00:00
cheusov
c71e2b3be9 Interix has dlopen(3) and family, they are provided by gcc (Interix-6.1).
pkgsrc'c check is broken, so, we set IS_BUILTIN.dl to "yes".
2014-08-13 18:48:09 +00:00
schmonz
fbc1046875 Document what Yosemite looks like (modulo XCode, which I haven't needed). 2014-08-01 14:59:14 +00:00
ryoon
8dd20d4308 Fix shlib check error under DragonFly 3.8.1.
It has no libc.so.8 in /usr/lib.
2014-07-25 23:40:01 +00:00
joerg
b2b9a12840 Always use OpenPAM as fallback PAM implementation if a native one is
missing. Drop PAM_ACCEPTED and PAM_TYPE as unused or redundant.
2014-06-10 13:52:57 +00:00
obache
d318583b57 -lpthread not needed, it's in libroot. 2014-06-09 08:47:29 +00:00
obache
39c4da3f85 catch up to /boot/common removal, adust header/library location.
noticed by diger in pkgsrc-users@.
2014-05-18 10:13:59 +00:00
obache
d6c2320781 Haiku has groupadd now.
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-18 09:45:40 +00:00
obache
2fb784864b On Haiku:
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-05-18 07:56:21 +00:00
bsiegert
3d10a134a4 MirBSD: remove -fvisibility=hidden until there is a version of gcc that
supports it.
2014-03-19 16:44:08 +00:00
ryoon
d2e4b66d48 Add SCO OpenServer 5 and 6 support, 6 support is not tested yet. 2014-03-14 22:05:18 +00:00
jperkin
e393ce6d94 Introduce infrastructure support for SMF.
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-11 14:07:04 +00:00
jperkin
fd9c505e3a When building 32-bit packages on x86_64 GNU ld isn't smart enough to
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-03-07 15:03:15 +00:00
jperkin
0872d5b92c Prefer the native libexecinfo implementation by default. 2014-02-20 11:03:09 +00:00
jperkin
189149a206 Prefer the native libinotify implementation by default. 2014-02-20 10:52:33 +00:00
jperkin
0959cc13c9 Use the _OPSYS_PREFER mechanism rather than LIBC_BUILTINS. 2014-02-19 17:20:23 +00:00
obache
160d601c01 document _OPSYS_PREFER.<pkg> 2014-02-14 13:11:17 +00:00
jperkin
ea861a35ec Check for stdio.h in /usr/include test, as on upgrades the /usr/include
directory may still exist containing legacy application headers.

Noticed by schmonz.  Also add Mavericks to the version table while here.
2013-12-31 11:13:43 +00:00
tron
73293ff6a6 Don't use "${ECHO}" which isn't defined yet, hard code "echo" instead.
As this doesn't have to be portable anyway it won't cause problems.
2013-11-24 10:13:41 +00:00
jperkin
c52ee7c5a3 Handle older versions of xcrun. 2013-11-24 09:36:41 +00:00
jperkin
a1ff659fd1 Use xcrun to determine the full path to the SDK, and use the headers from
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-23 11:42:38 +00:00
obache
2abcdf8fe9 fixes 3rdparty header path 2013-11-23 07:50:51 +00:00
jperkin
bdb291bf7d OSX Mavericks and Xcode 5 no longer ship system headers in /usr/include, they
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-01 12:22:32 +00:00
jperkin
83b6d9d86f Move platform-specific code to the platform file. 2013-11-01 11:58:48 +00:00
wiz
3099b2b8eb Remove config.rpath override file and related code.
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-10-13 10:10:05 +00:00
jperkin
948c742e84 Introduce CATMAN_SECTION_SUFFIX which if set to 'yes' will ensure that
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-12 11:01:47 +00:00
jperkin
6c97838c0c Introduce _OPSYS_PREFER.<pkg> variables as a way to set an advisory
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-09-04 15:14:45 +00:00
obache
df0b172e18 CPP is /bin/cpp on Cygwin. 2013-08-31 13:45:43 +00:00
richard
57973e7744 fix openssl builtin support, at least for solaris 2013-08-27 05:42:34 +00:00
jperkin
816174fe8b Move platform-specific settings to the platform file. 2013-08-16 12:11:17 +00:00
jperkin
e10db1a20e Use the native mit-krb5 implementation by default on SunOS. 2013-08-16 12:10:31 +00:00
ryoon
4a0907cc4d Add (Debian) GNU/kFreeBSD port.
Similar to GNU/Linux.

Bump bootstrap-mk-files to 20130727.
2013-07-26 09:38:15 +00:00
ryoon
cd3bc9c160 Fix typo.
libossaudio is unavailable.
2013-07-23 13:01:05 +00:00
jperkin
5ff2de86e6 Default to using the native version of libexecinfo on SunOS. 2013-07-15 12:06:45 +00:00
jperkin
02b10daeaf Rename the PKGNAME for the OPSYS-specific user packages to include the OPSYS,
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.
2013-07-12 10:41:58 +00:00
jperkin
37ecec314f Apply removal of -export-dynamic for SunOS across all of pkgsrc.
Avoids lots of copy/paste and fixes a bunch of packages which hadn't been
looked at yet.
2013-07-05 15:10:00 +00:00
dsainty
3eec5c936c Fix a pasting botch in v1.54 that killed Linux i386 2013-05-17 03:40:02 +00:00
jperkin
0b70154faa _OPSYS_SYSTEM_RPATH must match _OPSYS_LIB_DIRS or else the buildlink
substitutions will not be correct.

Fixes issue with ABI=64 where /usr/lib/amd64 was being exposed, but
packages will need to be rebuilt for the change to take effect.
2013-05-16 17:09:07 +00:00
ryoon
e35468c714 On Debian/Ubuntu Linux, set system's library path as Debian's multiarch
hierarchy.
This values should be generated from output of some commands,
but I cannot find the rule.
Tested on armel and x86_64 Debian GNU/Linux environment.
The values are shown in http://wiki.debian.org/Multiarch/Tuples .
2013-05-11 23:56:24 +00:00
obache
5024bad0b1 Introduce _OPSYS_LIB_DIRS and _OPSYS_INCLUDE_DIRS varables.
list of system library and header file directories.

Also add missing _OPSYS_SYSTEM_RPATH for some platforms.
2013-04-28 12:53:56 +00:00
obache
465a0376e7 Note some variables defined in ${OPSYS}.mk. 2013-04-08 13:29:26 +00:00
jperkin
05cb950dc2 Default to the native linux-pam implementation. It is available
since at least Leopard (10.5) and the security/PAM package does
not currently build, breaking PREFER_PKGSRC=yes.
2013-04-04 10:24:14 +00:00
obache
e5b374f8d0 bump required user_cygwin package to 20130313. 2013-03-13 12:38:19 +00:00
obache
b292fbe970 Switch to use own user_cygwin for _USER_DEPENDS. 2013-03-06 12:41:44 +00:00