summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"