summaryrefslogtreecommitdiff
path: root/devel/zlib
diff options
context:
space:
mode:
authorwiz <wiz>2002-08-07 13:25:36 +0000
committerwiz <wiz>2002-08-07 13:25:36 +0000
commit7770d924ea79112154f03b196f0781b1331ad761 (patch)
tree2cda0c7b6c4eb266251ac115a56ba929abe11faf /devel/zlib
parent1f179af0c92946b1730c5f406530a46730ec7f24 (diff)
downloadpkgsrc-7770d924ea79112154f03b196f0781b1331ad761.tar.gz
Enable building this package on <1.4, and add INCOMPAT_ZLIB settings for
NetBSD releases that need it. Closes pkg/14782.
Diffstat (limited to 'devel/zlib')
-rw-r--r--devel/zlib/Makefile4
-rw-r--r--devel/zlib/buildlink.mk9
2 files changed, 10 insertions, 3 deletions
diff --git a/devel/zlib/Makefile b/devel/zlib/Makefile
index e98794dc8cc..36f003ab084 100644
--- a/devel/zlib/Makefile
+++ b/devel/zlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/03/12 00:25:03 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2002/08/07 13:25:36 wiz Exp $
DISTNAME= zlib-1.1.4
CATEGORIES= devel
@@ -13,7 +13,7 @@ COMMENT= General purpose data compression library
BUILD_DEPENDS+= libtool-base>=${LIBTOOL_VERSION}:../../devel/libtool-base
-NOT_FOR_PLATFORM= NetBSD-*-* # in base NetBSD system
+NOT_FOR_PLATFORM= NetBSD-1.[4-9]*-* # in base NetBSD system
# To avoid circular dependences we must not use "USE_LIBTOOL" but
# depend on the "libtool-base" package manually.
diff --git a/devel/zlib/buildlink.mk b/devel/zlib/buildlink.mk
index 49f55011b4b..3c8a1a08588 100644
--- a/devel/zlib/buildlink.mk
+++ b/devel/zlib/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.8 2002/08/07 06:10:34 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.9 2002/08/07 13:25:37 wiz Exp $
#
# This Makefile fragment is included by packages that use zlib.
#
@@ -31,6 +31,13 @@ _NEED_ZLIB= YES
# Solaris has a broken (for the purposes of pkgsrc) version of zlib.
#
_INCOMPAT_ZLIB= SunOS-*-*
+
+#
+# Some NetBSD versions shipped with versions lower than 1.1.3.
+#
+_INCOMPAT_ZLIB+= NetBSD-0.*-* NetBSD-1.[012]*-*
+_INCOMPAT_ZLIB+= NetBSD-1.3-* NetBSD-1.3.*-* NetBSD-1.3[A-H]-*
+
INCOMPAT_ZLIB?= # empty
. for _pattern_ in ${_INCOMPAT_ZLIB} ${INCOMPAT_ZLIB}
. if !empty(MACHINE_PLATFORM:M${_pattern_})