summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-26 21:51:51 +0000
committerjlam <jlam>2001-05-26 21:51:51 +0000
commit77ca840ed183e9d82447f6b8b12de73c8ae191aa (patch)
treef3bdc889387e5d089a52a3166ed6f264051b9548 /textproc
parentbd42b12f296ab1be157264ae55d263d72335c0d0 (diff)
downloadpkgsrc-77ca840ed183e9d82447f6b8b12de73c8ae191aa.tar.gz
Use zlib's buildlink.mk to get dependency on zlib if needed.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libxml/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/textproc/libxml/Makefile b/textproc/libxml/Makefile
index 0047de95561..1ccf4f9e606 100644
--- a/textproc/libxml/Makefile
+++ b/textproc/libxml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2001/05/21 19:45:04 rh Exp $
+# $NetBSD: Makefile,v 1.16 2001/05/26 21:51:51 jlam Exp $
#
DISTNAME= libxml-1.8.13
@@ -10,14 +10,15 @@ MAINTAINER= rh@netbsd.org
HOMEPAGE= http://xmlsoft.org/
COMMENT= XML parser, mainly used by the GNOME project
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-DEPENDS+= zlib-*:../../devel/zlib
-.endif
+.include "../../devel/zlib/buildlink.mk"
GNU_CONFIGURE= YES
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+CPPFLAGS+= -I${BUILDLINK_INCDIR}
+LDFLAGS+= -L${BUILDLINK_LIBDIR}
+
.include "../../mk/bsd.pkg.mk"