Import of pkgsrc-2015Q3
This commit is contained in:
+12
-4
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Darwin.mk,v 1.67 2015/06/26 13:51:57 adam Exp $
|
||||
# $NetBSD: Darwin.mk,v 1.71 2015/09/07 11:48:35 jperkin Exp $
|
||||
#
|
||||
# Variable definitions for the Darwin operating system.
|
||||
|
||||
@@ -128,6 +128,9 @@ USE_BUILTIN.dl= no # Darwin-[56].* uses devel/dlcompat
|
||||
# Builtin defaults which make sense for this platform.
|
||||
_OPSYS_PREFER.linux-pam?= native
|
||||
_OPSYS_PREFER.mit-krb5?= native
|
||||
.if ${OS_VERSION:R} >= 11
|
||||
_OPSYS_PREFER.openssl?= pkgsrc # builtin deprecated from 10.7 onwards
|
||||
.endif
|
||||
|
||||
# flags passed to the linker to extract all symbols from static archives.
|
||||
# this is GNU ld.
|
||||
@@ -139,10 +142,14 @@ _OPSYS_WHOLE_ARCHIVE_FLAG= -Wl,--whole-archive
|
||||
_OPSYS_NO_WHOLE_ARCHIVE_FLAG= -Wl,--no-whole-archive
|
||||
.endif
|
||||
|
||||
_OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk
|
||||
_OPSYS_CAN_CHECK_SHLIBS= yes # check shared libraries using otool(1)
|
||||
|
||||
# OSX strip(1) tries to remove relocatable symbols and fails on certain
|
||||
# objects, resulting in non-zero exit status. We can't modify strip arguments
|
||||
# (e.g. adding "-u -r" which would fix the issue) when using install -s so for
|
||||
# now stripping is disabled in that mode.
|
||||
_STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-Wl,-x} # cc(1) option to strip
|
||||
_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip
|
||||
_STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U} # install(1) option to strip
|
||||
|
||||
# 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.
|
||||
@@ -158,7 +165,8 @@ CONFIGURE_ENV+= ac_cv_func_poll=no
|
||||
.endif
|
||||
|
||||
# Use "/bin/ksh" for buildlink3 wrapper script to improve build performance.
|
||||
.if (!empty(OS_VERSION:M9.*) || !empty(OS_VERSION:M1[0-9].*)) && \
|
||||
.if (!empty(OS_VERSION:M9.*) || !empty(OS_VERSION:M1[0-2].*) || \
|
||||
!empty(OS_VERSION:M1[4-9].*)) && \
|
||||
exists(/bin/ksh)
|
||||
WRAPPER_BIN_SH?= /bin/ksh
|
||||
.endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: DragonFly.mk,v 1.46 2015/04/21 17:01:56 joerg Exp $
|
||||
# $NetBSD: DragonFly.mk,v 1.47 2015/09/10 19:49:58 jperkin Exp $
|
||||
#
|
||||
# Variable definitions for the DragonFly operating system.
|
||||
|
||||
@@ -28,7 +28,7 @@ ULIMIT_CMD_cputime?= ulimit -t `ulimit -H -t`
|
||||
_OPSYS_EMULDIR.linux= /compat/linux
|
||||
|
||||
_OPSYS_SYSTEM_RPATH?= /lib:/usr/lib:/usr/lib/gcc41:/usr/lib/gcc34:/usr/lib/gcc47
|
||||
_OPSYS_LIB_DIRS?= /lib:/usr/lib
|
||||
_OPSYS_LIB_DIRS?= /lib /usr/lib
|
||||
_OPSYS_INCLUDE_DIRS?= /usr/include
|
||||
|
||||
.if exists(/usr/include/netinet6)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Linux.mk,v 1.62 2015/05/08 20:28:30 sevan Exp $
|
||||
# $NetBSD: Linux.mk,v 1.63 2015/07/18 15:08:43 wiedi Exp $
|
||||
#
|
||||
# Variable definitions for the Linux operating system.
|
||||
|
||||
@@ -59,9 +59,14 @@ _OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}:/lib/i386-linux
|
||||
_OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} /lib/i386-linux-gnu /usr/lib/i386-linux-gnu
|
||||
.endif
|
||||
.if !empty(MACHINE_ARCH:Marm*)
|
||||
.if exists(/etc/ld.so.conf.d/arm-linux-gnueabihf.conf)
|
||||
_OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}:/lib/arm-linux-gnueabihf:/usr/lib/arm-linux-gnueabihf
|
||||
_OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} /lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf
|
||||
.else
|
||||
_OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}:/lib/arm-linux-gnueabi:/usr/lib/arm-linux-gnueabi
|
||||
_OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX} /lib/arm-linux-gnueabi /usr/lib/arm-linux-gnueabi
|
||||
.endif
|
||||
.endif
|
||||
.else
|
||||
_OPSYS_SYSTEM_RPATH= /lib${LIBABISUFFIX}:/usr/lib${LIBABISUFFIX}
|
||||
_OPSYS_LIB_DIRS?= /lib${LIBABISUFFIX} /usr/lib${LIBABISUFFIX}
|
||||
|
||||
+16
-1
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: NetBSD.mk,v 1.42 2015/05/26 10:08:37 joerg Exp $
|
||||
# $NetBSD: NetBSD.mk,v 1.45 2015/08/10 21:44:34 khorben Exp $
|
||||
#
|
||||
# Variable definitions for the NetBSD operating system.
|
||||
|
||||
@@ -128,6 +128,21 @@ FFLAGS+= -mieee
|
||||
PKG_HAVE_KQUEUE= # defined
|
||||
.endif
|
||||
|
||||
.if ${PKGSRC_USE_FORT:Uno} != "no"
|
||||
# build with fortify
|
||||
_GCC_CFLAGS+= -D_FORTIFY_SOURCE=2
|
||||
.endif
|
||||
|
||||
.if ${PKGSRC_USE_SSP:Uno} != "no"
|
||||
. if (${MACHINE_ARCH} != "alpha") && \
|
||||
(${MACHINE_ARCH} != "hppa") && \
|
||||
(${MACHINE_ARCH} != "ia64") && \
|
||||
(${MACHINE_ARCH} != "mips")
|
||||
# build with stack protection (with GCC)
|
||||
_GCC_CFLAGS+= -fstack-protector
|
||||
. endif
|
||||
.endif
|
||||
|
||||
_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,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# Variable definitions for the QNX operating system.
|
||||
|
||||
CC= gcc
|
||||
ECHO_N?= ${ECHO} -n
|
||||
IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake
|
||||
PKGLOCALEDIR?= share
|
||||
|
||||
Reference in New Issue
Block a user