pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libuv



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Aug  7 07:13:59 UTC 2017

Modified Files:
        pkgsrc/devel/libuv: Makefile

Log Message:
Solaris older than 5.11 does not have ifaddrs.h


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/libuv/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libuv/Makefile
diff -u pkgsrc/devel/libuv/Makefile:1.19 pkgsrc/devel/libuv/Makefile:1.20
--- pkgsrc/devel/libuv/Makefile:1.19    Sun Jul 30 22:32:15 2017
+++ pkgsrc/devel/libuv/Makefile Mon Aug  7 07:13:59 2017
@@ -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 @@ TEST_TARGET= check
 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