pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libuv Use a different make construct to avoid is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/735c1f6a8d8c
branches:  trunk
changeset: 366235:735c1f6a8d8c
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Aug 07 10:31:41 2017 +0000

description:
Use a different make construct to avoid issues on platforms where
OS_VERSION is non-numeric.

diffstat:

 devel/libuv/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 1d15e24b17a2 -r 735c1f6a8d8c devel/libuv/Makefile
--- a/devel/libuv/Makefile      Mon Aug 07 09:42:32 2017 +0000
+++ b/devel/libuv/Makefile      Mon Aug 07 10:31:41 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2017/08/07 07:13:59 jperkin Exp $
+# $NetBSD: Makefile,v 1.21 2017/08/07 10:31:41 jperkin Exp $
 
 DISTNAME=      libuv-1.13.1
 CATEGORIES=    devel
@@ -21,7 +21,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "SunOS" && ${OS_VERSION} < 5.11
+.if !empty(MACHINE_PLATFORM:MSunOS-5.[0-9]-*) || \
+    !empty(MACHINE_PLATFORM:MSunOS-5.10-*)
 CFLAGS+=       -DSUNOS_NO_IFADDRS
 .endif
 



Home | Main Index | Thread Index | Old Index