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 10:31:41 UTC 2017

Modified Files:
        pkgsrc/devel/libuv: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 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.20 pkgsrc/devel/libuv/Makefile:1.21
--- pkgsrc/devel/libuv/Makefile:1.20    Mon Aug  7 07:13:59 2017
+++ pkgsrc/devel/libuv/Makefile Mon Aug  7 10:31:41 2017
@@ -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 @@ HEADERS=      uv-aix.h uv-bsd.h uv-darwin.h u
 
 .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