diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-02-19 17:20:23 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-02-19 17:20:23 +0000 |
commit | d10e6e6dbbe3259e02b71c5998c614ac48c923ac (patch) | |
tree | 15b4ced05c3dab83cad7d596b7c5d6e15df4794f | |
parent | 86b63dd009c68d59a1fed2fb083bfdb279e64fe0 (diff) | |
download | pkgsrc-d10e6e6dbbe3259e02b71c5998c614ac48c923ac.tar.gz |
Use the _OPSYS_PREFER mechanism rather than LIBC_BUILTINS.
-rw-r--r-- | mk/platform/GNUkFreeBSD.mk | 9 | ||||
-rw-r--r-- | mk/platform/Linux.mk | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/mk/platform/GNUkFreeBSD.mk b/mk/platform/GNUkFreeBSD.mk index 747aba55062..028c5e5c16d 100644 --- a/mk/platform/GNUkFreeBSD.mk +++ b/mk/platform/GNUkFreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: GNUkFreeBSD.mk,v 1.1 2013/07/26 09:38:15 ryoon Exp $ +# $NetBSD: GNUkFreeBSD.mk,v 1.2 2014/02/19 17:20:23 jperkin Exp $ # # Variable definitions for the Debian GNU/kFreeBSD operating system. @@ -18,7 +18,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 NOLOGIN?= /usr/sbin/nologin PKG_TOOLS_BIN?= ${LOCALBASE}/sbin @@ -41,6 +40,12 @@ _OPSYS_LIB_DIRS?= /lib /usr/lib /lib/i386-kfreebsd-gnu /usr/lib/i386-kfreebsd-gn .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 diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index c87392caa4a..ab8dea97038 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.56 2013/07/23 13:01:05 ryoon Exp $ +# $NetBSD: Linux.mk,v 1.57 2014/02/19 17:20:23 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,12 @@ _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.sysexits?= native + .if exists(/usr/include/netinet6) || exists(/usr/include/linux/in6.h) _OPSYS_HAS_INET6= yes # IPv6 is standard .else |