summaryrefslogtreecommitdiff
path: root/textproc/libxml
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-05-26 21:51:51 +0000
committerjlam <jlam@pkgsrc.org>2001-05-26 21:51:51 +0000
commitb29cc0ac41688f59ae5b96ef33ecd44dab992034 (patch)
treef3bdc889387e5d089a52a3166ed6f264051b9548 /textproc/libxml
parent86363b2d356ee658435d52858cf25e0069126da5 (diff)
downloadpkgsrc-b29cc0ac41688f59ae5b96ef33ecd44dab992034.tar.gz
Use zlib's buildlink.mk to get dependency on zlib if needed.
Diffstat (limited to 'textproc/libxml')
-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"