summaryrefslogtreecommitdiff
path: root/devel/zlib
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2010-12-14 19:51:45 +0000
committerabs <abs@pkgsrc.org>2010-12-14 19:51:45 +0000
commit663b73804bdb2ca35f507063cf063c717e055782 (patch)
tree7b6d957132fe513cb904972c8051b5f3c1ad7e42 /devel/zlib
parent5b050412712a8b9fee1e296af4a39a753bc95b7a (diff)
downloadpkgsrc-663b73804bdb2ca35f507063cf063c717e055782.tar.gz
On at least OS X 10.4 the builtin zlib does not provide all the symbols
we need
Diffstat (limited to 'devel/zlib')
-rw-r--r--devel/zlib/builtin.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/zlib/builtin.mk b/devel/zlib/builtin.mk
index 9fa33d60b0f..c78bee71e5c 100644
--- a/devel/zlib/builtin.mk
+++ b/devel/zlib/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.7 2010/07/06 23:37:57 obache Exp $
+# $NetBSD: builtin.mk,v 1.8 2010/12/14 19:51:45 abs Exp $
BUILTIN_PKG:= zlib
@@ -8,6 +8,10 @@ BUILTIN_FIND_FILES.H_ZLIB= /usr/include/zlib.h \
.include "../../mk/buildlink3/bsd.builtin.mk"
+.if ! empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
+USE_BUILTIN.zlib=no
+.endif
+
###
### Determine if there is a built-in implementation of the package and
### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").