diff options
author | jperkin <jperkin> | 2016-02-24 14:58:24 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2016-02-24 14:58:24 +0000 |
commit | d6e98acea937ff3a02e2dcb407cd0a2094e78bac (patch) | |
tree | c38ef50d99fb5a9b1e2a59d0f1e91211dca3d3ec | |
parent | 471925ca057f923733b6fc405339c4c93c736ab9 (diff) | |
download | pkgsrc-d6e98acea937ff3a02e2dcb407cd0a2094e78bac.tar.gz |
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.
-rw-r--r-- | devel/libuuid/builtin.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/libuuid/builtin.mk b/devel/libuuid/builtin.mk index 25326098ce9..942f5661e66 100644 --- a/devel/libuuid/builtin.mk +++ b/devel/libuuid/builtin.mk @@ -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 @@ BUILTIN_FIND_LIBS:= uuid ## .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 |