Wed Feb 24 14:58:24 2016 UTC ()
libuuid on Darwin is in the main system library, so only perform the header
check for it to be deemed available.  Allows the builtin version to be used.


(jperkin)
diff -r1.7 -r1.8 pkgsrc/devel/libuuid/builtin.mk

cvs diff -r1.7 -r1.8 pkgsrc/devel/libuuid/builtin.mk (expand / switch to context diff)
--- pkgsrc/devel/libuuid/builtin.mk 2014/09/19 12:50:43 1.7
+++ pkgsrc/devel/libuuid/builtin.mk 2016/02/24 14:58:24 1.8
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.7 2014/09/19 12:50:43 jperkin Exp $
+# $NetBSD: builtin.mk,v 1.8 2016/02/24 14:58:24 jperkin Exp $
 
 BUILTIN_PKG:=	libuuid
 
@@ -17,8 +17,8 @@
 ##
 .if !defined(IS_BUILTIN.libuuid)
 IS_BUILTIN.libuuid=	no
-.  if !empty(BUILTIN_LIB_FOUND.uuid:M[yY][eE][sS]) && \
-      empty(H_UUID:M__nonexistent__)
+.  if (${OPSYS} == "Darwin" || !empty(BUILTIN_LIB_FOUND.uuid:M[yY][eE][sS])) \
+      && empty(H_UUID:M__nonexistent__)
 IS_BUILTIN.libuuid=	yes
 .  endif
 .endif