pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libuv Solaris older than 5.11 does not have ifad...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc36fd61ef05
branches:  trunk
changeset: 366224:fc36fd61ef05
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Aug 07 07:13:59 2017 +0000

description:
Solaris older than 5.11 does not have ifaddrs.h

diffstat:

 devel/libuv/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 47456059d3e3 -r fc36fd61ef05 devel/libuv/Makefile
--- a/devel/libuv/Makefile      Mon Aug 07 01:31:31 2017 +0000
+++ b/devel/libuv/Makefile      Mon Aug 07 07:13:59 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2017/07/30 22:32:15 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2017/08/07 07:13:59 jperkin Exp $
 
 DISTNAME=      libuv-1.13.1
 CATEGORIES=    devel
@@ -19,6 +19,12 @@
 HEADERS=       uv-aix.h uv-bsd.h uv-darwin.h uv-linux.h uv-sunos.h     \
                uv-unix.h uv-win.h pthread-barrier.h
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS" && ${OS_VERSION} < 5.11
+CFLAGS+=       -DSUNOS_NO_IFADDRS
+.endif
+
 pre-configure:
        ${RUN} cd ${WRKSRC} && ${SH} ./autogen.sh
 



Home | Main Index | Thread Index | Old Index