diff options
-rw-r--r-- | devel/zlib/Makefile | 4 | ||||
-rw-r--r-- | devel/zlib/buildlink.mk | 9 |
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_}) |