Import of pkgsrc-2014Q1

This commit is contained in:
2014-11-05 12:41:07 +01:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
# $NetBSD: Cygwin.mk,v 1.12 2013/04/28 12:53:56 obache Exp $
# $NetBSD: Cygwin.mk,v 1.15 2013/10/13 10:10:05 wiz Exp $
#
# Variable definitions for the Windows with Cygwin.
@@ -6,6 +6,7 @@
### Platform definitions common to pkgsrc/mk/platform/*.mk
###
CPP?= /bin/cpp
ECHO_N?= ${ECHO} -n
IMAKE_MAKE?= ${GMAKE} # program which gets invoked by imake
IMAKEOPTS+= -DBuildHtmlManPages=NO
@@ -17,10 +18,9 @@ TYPE?= type # Shell builtin
USERADD?= ${LOCALBASE}/sbin/useradd
GROUPADD?= ${LOCALBASE}/sbin/groupadd
_PKG_USER_HOME?= # empty by default
_USER_DEPENDS= user>=20130313:../../sysutils/user_cygwin
_USER_DEPENDS= user-cygwin>=20130712:../../sysutils/user_cygwin
CPP_PRECOMP_FLAGS?= # unset
CONFIG_RPATH_OVERRIDE?= config.rpath */config.rpath */*/config.rpath
DEF_UMASK?= 002
EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table
+27 -3
View File
@@ -1,4 +1,4 @@
# $NetBSD: Darwin.mk,v 1.52 2013/04/28 12:53:56 obache Exp $
# $NetBSD: Darwin.mk,v 1.61 2013/12/31 11:13:43 jperkin Exp $
#
# Variable definitions for the Darwin operating system.
@@ -15,6 +15,7 @@
# Snow Leopard 10.6.x 10.x.y 3.2+ (gcc 4.0.1 and 4.2.1)
# Lion 10.7.x 11.x.y 4.1 (llvm gcc 4.2.1)
# Mountain Lion 10.8.x 12.x.y 4.5 (llvm gcc 4.2.1)
# Mavericks 10.9.x 13.x.y 5 (llvm clang 5.0)
# Tiger (and earlier) use Xfree 4.4.0 (and earlier)
.if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
@@ -67,13 +68,25 @@ ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m`
GROUPADD?= ${LOCALBASE}/sbin/groupadd
USERADD?= ${LOCALBASE}/sbin/useradd
_PKG_USER_HOME?= /var/empty # to match other system accounts
_USER_DEPENDS= user>=20040801:../../sysutils/user_darwin
_USER_DEPENDS= user-darwin>=20130712:../../sysutils/user_darwin
_OPSYS_EMULDIR.darwin= # empty
#
# From Xcode 5 onwards system headers are no longer installed by default
# into /usr/include, so we need to query their location.
#
.if exists(/usr/bin/xcrun)
OSX_SDK_PATH!= /usr/bin/xcrun --show-sdk-path 2>/dev/null || echo /nonexistent
.endif
_OPSYS_SYSTEM_RPATH?= /usr/lib
_OPSYS_LIB_DIRS?= /usr/lib
.if exists(/usr/include/stdio.h)
_OPSYS_INCLUDE_DIRS?= /usr/include
.elif exists(${OSX_SDK_PATH}/usr/include/stdio.h)
_OPSYS_INCLUDE_DIRS?= ${OSX_SDK_PATH}/usr/include
.endif
.if ${OS_VERSION:R} >= 6
_OPSYS_HAS_INET6= yes # IPv6 is standard
@@ -92,8 +105,19 @@ _PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -V simple -b -z # switch to patch(1) for backup suffix
_USE_RPATH= no # don't add rpath to LDFLAGS
# Comes with a native mit-krb5 implementation
KRB5_DEFAULT?= mit-krb5
#
# Builtin overrides.
#
.if !empty(OS_VERSION:M[56].*)
USE_BUILTIN.dl= no # Darwin-[56].* uses devel/dlcompat
.endif
# Builtin defaults which make sense for this platform.
PREFER.linux-pam?= native
_OPSYS_PREFER.linux-pam?= native
_OPSYS_PREFER.mit-krb5?= native
# flags passed to the linker to extract all symbols from static archives.
# this is GNU ld.
+79
View File
@@ -0,0 +1,79 @@
# $NetBSD: GNUkFreeBSD.mk,v 1.2 2014/02/19 17:20:23 jperkin Exp $
#
# Variable definitions for the Debian GNU/kFreeBSD operating system.
ECHO_N?= ${ECHO} -n
.if defined(X11_TYPE) && ${X11_TYPE} == "native"
IMAKE_MAKE?= ${GMAKE} # program which gets invoked by imake
IMAKE_TOOLS= gmake # extra tools required when we use imake
.endif
IMAKEOPTS+= -DBuildHtmlManPages=NO
PKGLOCALEDIR?= share
PS?= /bin/ps
SU?= /bin/su
TYPE?= type # Shell builtin
CPP_PRECOMP_FLAGS?= # unset
DEF_UMASK?= 022
DEFAULT_SERIAL_DEVICE?= /dev/null
EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table
GROUPADD?= /usr/sbin/groupadd
MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type
NOLOGIN?= /usr/sbin/nologin
PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
ROOT_CMD?= ${SU} - root -c
ROOT_GROUP?= root
ROOT_USER?= root
SERIAL_DEVICES?= /dev/null
ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`
ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m`
USERADD?= /usr/sbin/useradd
.if !empty(MACHINE_ARCH:Mx86_64)
_OPSYS_SYSTEM_RPATH= /lib:/usr/lib:/lib/x86_64-kfreebsd-gnu:/usr/lib/x86_64-kfreebsd-gnu
_OPSYS_LIB_DIRS?= /lib /usr/lib /lib/x86_64-kfreebsd-gnu /usr/lib/x86_64-kfreebsd-gnu
.endif
.if !empty(MACHINE_ARCH:Mi386)
_OPSYS_SYSTEM_RPATH= /lib:/usr/lib:/lib/i386-kfreebsd-gnu:/usr/lib/i386-kfreebsd-gnu
_OPSYS_LIB_DIRS?= /lib /usr/lib /lib/i386-kfreebsd-gnu /usr/lib/i386-kfreebsd-gnu
.endif
_OPSYS_INCLUDE_DIRS?= /usr/include
# These are libc builtins
_OPSYS_PREFER.getopt?= native
_OPSYS_PREFER.gettext?= native
_OPSYS_PREFER.iconv?= native
_OPSYS_PREFER.sysexits?= native
_OPSYS_HAS_INET6= yes # IPv6 is standard
_OPSYS_HAS_JAVA= no # Java is not standard
_OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages
_OPSYS_HAS_OSSAUDIO= no # libossaudio is unavailable
_OPSYS_PERL_REQD= # no base version of perl required
_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
_OPSYS_SHLIB_TYPE= ELF # shared lib type
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix
_USE_RPATH= yes # add rpath to LDFLAGS
# flags passed to the linker to extract all symbols from static archives.
# this is GNU ld.
_OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive
_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive
_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip
_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip
_OPSYS_CAN_CHECK_SHLIBS= yes # use readelf in check/bsd.check-vars.mk
# check for maximum command line length and set it in configure's environment,
# to avoid a test required by the libtool script that takes forever.
.if exists(/usr/bin/getconf)
_OPSYS_MAX_CMDLEN_CMD?= /usr/bin/getconf ARG_MAX
.endif
# If this is defined pass it to the make process.
.if defined(NOGCCERROR)
MAKE_ENV+= NOGCCERROR=true
.endif
+3 -3
View File
@@ -1,4 +1,4 @@
# $NetBSD: HPUX.mk,v 1.22 2013/04/28 12:53:56 obache Exp $
# $NetBSD: HPUX.mk,v 1.23 2013/09/04 15:14:45 jperkin Exp $
#
# Variable definitions for the HP-UX operating system.
@@ -70,8 +70,8 @@ KRB5_DEFAULT?= mit-krb5
# Builtin openssl and zlib have issues. Prefer pkgsrc's until we know which
# versions work.
PREFER.openssl?= pkgsrc
PREFER.zlib?= pkgsrc
_OPSYS_PREFER.openssl?= pkgsrc
_OPSYS_PREFER.zlib?= pkgsrc
_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U} # cc(1) option to strip
_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U} # install(1) option to strip
+2 -2
View File
@@ -1,4 +1,4 @@
# $NetBSD: Haiku.mk,v 1.8 2013/04/28 12:53:56 obache Exp $
# $NetBSD: Haiku.mk,v 1.9 2013/11/23 07:50:51 obache Exp $
#
# Variable definitions for the Haiku operating system.
@@ -35,7 +35,7 @@ _OPSYS_SYSTEM_RPATH?= /boot/common/lib:/boot/system/lib
_OPSYS_LIB_DIRS?= /boot/common/lib /boot/system/lib
_OPSYS_INCLUDE_DIRS?= /boot/common/include \
/boot/develop/headers/posix \
/boot/develop/3rdparty
/boot/develop/headers/3rdparty
_OPSYS_HAS_INET6= yes # IPv6 is standard
_OPSYS_HAS_JAVA= no # Java is not standard
+2 -2
View File
@@ -1,4 +1,4 @@
# $NetBSD: IRIX.mk,v 1.41 2013/04/28 12:53:56 obache Exp $
# $NetBSD: IRIX.mk,v 1.42 2013/07/12 10:41:58 jperkin Exp $
#
# Variable definitions for the IRIX operating system.
@@ -33,7 +33,7 @@ ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v`
USERADD?= ${LOCALBASE}/sbin/useradd
GROUPADD?= ${LOCALBASE}/sbin/groupadd
_PKG_USER_HOME?= /dev/null # to match other system accounts
_USER_DEPENDS= user-[0-9]*:../../sysutils/user_irix
_USER_DEPENDS= user-irix>=20130712:../../sysutils/user_irix
_OPSYS_EMULDIR.irix= # empty
+2 -3
View File
@@ -1,4 +1,4 @@
# $NetBSD: Interix.mk,v 1.69 2013/04/28 12:53:56 obache Exp $
# $NetBSD: Interix.mk,v 1.71 2013/10/13 10:10:05 wiz Exp $
#
# Variable definitions for the Interix operating system.
@@ -85,10 +85,9 @@ TYPE?= type # Shell builtin
USERADD?= ${LOCALBASE}/sbin/useradd
GROUPADD?= ${LOCALBASE}/sbin/groupadd
_PKG_USER_HOME?= # empty by default
_USER_DEPENDS= user>=20040426:../../sysutils/user_interix
_USER_DEPENDS= user-interix>=20130712:../../sysutils/user_interix
CPP_PRECOMP_FLAGS?= # unset
CONFIG_RPATH_OVERRIDE?= config.rpath */config.rpath */*/config.rpath
DEF_UMASK?= 002
EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table
+20 -6
View File
@@ -1,4 +1,4 @@
# $NetBSD: Linux.mk,v 1.55 2013/05/17 03:40:02 dsainty Exp $
# $NetBSD: Linux.mk,v 1.60 2014/03/07 15:03:15 jperkin Exp $
#
# Variable definitions for the Linux operating system.
@@ -24,7 +24,6 @@ DEF_UMASK?= 022
DEFAULT_SERIAL_DEVICE?= /dev/null
EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table
GROUPADD?= /usr/sbin/groupadd
LIBC_BUILTINS= iconv getopt sysexits gettext
MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type
.if exists(/etc/ssdlinux_version)
NOLOGIN?= /sbin/nologin
@@ -68,6 +67,14 @@ _OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX}
.endif
_OPSYS_INCLUDE_DIRS?= /usr/include
# These are libc builtins
_OPSYS_PREFER.getopt?= native
_OPSYS_PREFER.gettext?= native
_OPSYS_PREFER.iconv?= native
_OPSYS_PREFER.libexecinfo?= native
_OPSYS_PREFER.libinotify?= native
_OPSYS_PREFER.sysexits?= native
.if exists(/usr/include/netinet6) || exists(/usr/include/linux/in6.h)
_OPSYS_HAS_INET6= yes # IPv6 is standard
.else
@@ -75,7 +82,7 @@ _OPSYS_HAS_INET6= no # IPv6 is not standard
.endif
_OPSYS_HAS_JAVA= no # Java is not standard
_OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages
_OPSYS_HAS_OSSAUDIO= no # libossaudio is available
_OPSYS_HAS_OSSAUDIO= no # libossaudio is unavailable
_OPSYS_PERL_REQD= # no base version of perl required
_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
_OPSYS_SHLIB_TYPE= ELF # shared lib type
@@ -99,9 +106,16 @@ _OPSYS_CAN_CHECK_SHLIBS= yes # use readelf in check/bsd.check-vars.mk
_OPSYS_MAX_CMDLEN_CMD?= /usr/bin/getconf ARG_MAX
.endif
.if (${MACHINE_ARCH} == "x86_64")
ABI?= 64
LIBABISUFFIX?= 64
.if ${MACHINE_ARCH} == "x86_64"
ABI?= 64
LIBABISUFFIX?= 64
.endif
# 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.
.if ${NATIVE_MACHINE_ARCH} == "x86_64" && ${MACHINE_ARCH} == "i386"
_WRAP_EXTRA_ARGS.LD+= -m elf_i386
.endif
## Use _CMD so the command only gets run when needed!
+4 -2
View File
@@ -1,4 +1,4 @@
# $NetBSD: MirBSD.mk,v 1.9 2013/04/28 12:53:56 obache Exp $
# $NetBSD: MirBSD.mk,v 1.10 2014/03/19 16:44:08 bsiegert Exp $
#
# Variable definitions for the MirOS BSD operating system.
@@ -45,7 +45,9 @@ _PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -V simple -z # switch to patch(1) for backup suffix
_USE_RPATH= yes # add rpath to LDFLAGS
BUILDLINK_TRANSFORM+= rm:-ldl # libdl.a is an empty static library
BUILDLINK_TRANSFORM+= rm:-ldl # libdl.a is an empty static library
BUILDLINK_TRANSFORM+= rm:-fvisibility=hidden # at least until there is a newer gcc
# flags passed to the linker to extract all symbols from static archives.
# this is GNU ld.
+4 -4
View File
@@ -100,7 +100,7 @@ GAMEDIRMODE= 0775
PAM_DEFAULT?= openpam
PREFER.zlib?= pkgsrc
PREFER.bzip2?= pkgsrc
PREFER.curses?= pkgsrc
PREFER.termcap?= pkgsrc
_OPSYS_PREFER.zlib?= pkgsrc
_OPSYS_PREFER.bzip2?= pkgsrc
_OPSYS_PREFER.curses?= pkgsrc
_OPSYS_PREFER.termcap?= pkgsrc
+4 -1
View File
@@ -1,4 +1,4 @@
$NetBSD: README,v 1.3 2013/04/28 12:53:56 obache Exp $
$NetBSD: README,v 1.4 2014/02/14 13:11:17 obache Exp $
These files contain platform-specific definitions that are used by the
pkgsrc infrastructure.
@@ -114,6 +114,9 @@ TODO: Document all these variables.
set it in configure's environment, to avoid a test required by the
libtool script that takes forever.
_OPSYS_PREFER.<pkg> is builtin defaults which make sense for this platform.
see also: mk/buildlink3/bsd.builtin.mk.
=== Implementation notes ===
Do not try to extract the definitions that are common to all files into
+76
View File
@@ -0,0 +1,76 @@
# $NetBSD: SCO_SV.mk,v 1.1 2014/03/14 22:05:18 ryoon Exp $
#
# Variable definitions for the OpenServer 5.0.7/3.2 and 6.0.0/5.
ECHO_N?= ${ECHO} -n
PKGLOCALEDIR?= lib
PS?= /bin/ps
SU?= /bin/su
TYPE?= type # Shell builtin
CPP_PRECOMP_FLAGS?= # unset
DEF_UMASK?= 022
DEFAULT_SERIAL_DEVICE?= /dev/null
EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table
GROUPADD?= /etc/groupadd
MOTIF_TYPE_DEFAULT?= dt # default 2.0 compatible libs type
NOLOGIN?= ${FALSE}
ROOT_CMD?= ${SU} - root -c
ROOT_GROUP?= root
ROOT_USER?= root
SERIAL_DEVICES?= /dev/null
TOUCH_FLAGS?= # touch doesn't understand -f
ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`
ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v`
USERADD?= /etc/useradd
_OPSYS_SYSTEM_RPATH?= /lib:/usr/lib:/usr/gnu/lib
_OPSYS_LIB_DIRS?= /lib/lib /usr/lib /usr/gnu/lib
_OPSYS_HAS_INET6= no # IPv6 is not standard
_OPSYS_HAS_JAVA= yes # Java is not standard
_OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages
_OPSYS_HAS_OSSAUDIO= no # libossaudio is available
_OPSYS_PERL_REQD= # no base version of perl required
_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
_OPSYS_SHLIB_TYPE= ELF # shared lib type
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix
#
# The native linker for OpenServer doesn't really support an option to pass
# rpath directives, but pretend it does anyway since the wrapper scripts
# will correctly convert it into the proper LD_RUN_PATH variable.
#
_USE_RPATH= yes # add rpath to LDFLAGS
# flags passed to the linker to extract all symbols from static archives.
# this is the standard OpenServer 5.0.7/3.2 linker, /usr/ccs/bin/ld.
# The use of GNU ld is not currently supported.
# XXX is this needed for OpenServer?
_OPSYS_WHOLE_ARCHIVE_FLAG=
_OPSYS_NO_WHOLE_ARCHIVE_FLAG=
_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U} # cc(1) option to strip
_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U} # install(1) option to strip
PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
_OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk
# Use native curses to avoid circular dependency.
_OPSYS_PREFER.curses?= native
.if ${OS_VARIANT} == "SCOOSR5"
# SCO OpenServer 5.0.7/3.2's /bin/rm cannot accepr "rm -f" (without arg).
CONFIGURE_ENV+= ACCEPT_INFERIOR_RM_PROGRAM=yes
# pkgsrc does not support SCO OpenServer 5.0.7/3.2's native CC (yet).
BUILDLINK_TRANSFORM+= rm:-belf
# SCO OpenServer 5.0.7/3.2's pthread is GNU pth and it requires -lsocket.
BUILDLINK_TRANSFORM+= l:pthread:pthread:socket
# SCO OpenServer 5.0.7/3.2's pthread library is GNU pth (builtin).
PTHREAD_TYPE= pth
# SCO OpenServer 5.0.7/3.2 has no IPv6 support.
_OPSYS_MISSING_FEATURES= inet6
PKG_DEFAULT_OPTIONS= -inet6
.endif
+18 -3
View File
@@ -1,4 +1,4 @@
# $NetBSD: SunOS.mk,v 1.51 2013/05/16 17:09:07 jperkin Exp $
# $NetBSD: SunOS.mk,v 1.58 2014/03/11 14:07:04 jperkin Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -11,6 +11,7 @@ PS?= /bin/ps
SU?= /usr/bin/su
TYPE?= /usr/bin/type
CATMAN_SECTION_SUFFIX?= yes
CPP_PRECOMP_FLAGS?= # unset
DEF_UMASK?= 022
DEFAULT_SERIAL_DEVICE?= /dev/null
@@ -37,9 +38,19 @@ MOTIF_TYPE_DEFAULT?= dt # default 2.0 compatible libs type
MOTIF_TYPE_DEFAULT?= motif
.endif
# Use SMF by default if available.
.if ${OS_VERSION} >= 5.10
INIT_SYSTEM?= smf
.endif
# Comes with a builtin implementation based on mit-krb5
KRB5_DEFAULT?= mit-krb5
# Builtin defaults which make sense for this platform.
PREFER.solaris-pam?= native
PREFER.openssl?= pkgsrc
_OPSYS_PREFER.libexecinfo?= native
_OPSYS_PREFER.mit-krb5?= native
_OPSYS_PREFER.openssl?= pkgsrc
_OPSYS_PREFER.solaris-pam?= native
_OPSYS_EMULDIR.solaris= # empty
_OPSYS_EMULDIR.solaris32= # empty
@@ -67,6 +78,10 @@ _USE_RPATH= yes # add rpath to LDFLAGS
_OPSYS_WHOLE_ARCHIVE_FLAG= -z allextract
_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -z defaultextract
# Remove flags specific to GNU ld.
BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic
BUILDLINK_TRANSFORM+= rm:-export-dynamic
# Solaris has /usr/include/iconv.h, but it's not GNU iconv, so mark it
# incompatible.
_INCOMPAT_ICONV= SunOS-*-*