summaryrefslogtreecommitdiff
path: root/devel/zlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/zlib/Makefile')
-rw-r--r--devel/zlib/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/devel/zlib/Makefile b/devel/zlib/Makefile
index 9a6d4d550ea..a5a25f8efe2 100644
--- a/devel/zlib/Makefile
+++ b/devel/zlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/02/16 14:39:07 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/04/16 00:57:48 tron Exp $
DISTNAME= zlib-1.1.3
CATEGORIES= devel
@@ -8,25 +8,16 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= ftp://ftp.freesoftware.com/pub/infozip/zlib/index.html
COMMENT= General purpose data compression library
+BUILD_DEPENDS+= libtool-base>=${LIBTOOL_VERSION}:../../devel/libtool-base
+
ONLY_FOR_PLATFORM= SunOS-*-* # in base NetBSD system
-.include "../../mk/bsd.prefs.mk"
-.if exists(${LOCALBASE}/bin/libtool)
-USE_LIBTOOL= yes
+LIBTOOL= ${LOCALBASE}/bin/libtool
+CONFIGURE_ENV+= LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}"
+MAKE_ENV+= LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}"
MAKEFILE= lt.mk
-PLIST_SRC= ${WRKDIR}/.PLIST_SRC
post-extract:
${CP} ${FILESDIR}/lt.mk ${WRKSRC}
- ${SED} \
- -e '/libz_pic.a/d' \
- -e '/libz_p.a/d' \
- <${PKGDIR}/PLIST >${PLIST_SRC}
-
-.else
-MAKEFILE= bsd.mk
-.endif
-
-MAKE_ENV+= NOLINT=yes
.include "../../mk/bsd.pkg.mk"