summaryrefslogtreecommitdiff
path: root/textproc/libxml
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-06-11 02:05:07 +0000
committerjlam <jlam@pkgsrc.org>2001-06-11 02:05:07 +0000
commitdbfde59b14f3df33f921b522c83796d99919502c (patch)
tree8a4903fb4961ac3e5118ca00c446b0bcfea9697d /textproc/libxml
parent072be2ad69b44757c1fda013ef9c97ac9969c501 (diff)
downloadpkgsrc-dbfde59b14f3df33f921b522c83796d99919502c.tar.gz
The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra definitions to add them from the package Makefiles. As advised by the bsd.buildlink.mk file, also ensure that the buildlink.mk files are included prior to defining any package-specific CFLAGS/LDFLAGS to ensure that the buildlink directories are at the head of the compiler search paths.
Diffstat (limited to 'textproc/libxml')
-rw-r--r--textproc/libxml/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/textproc/libxml/Makefile b/textproc/libxml/Makefile
index 1ccf4f9e606..da85dc4c7d6 100644
--- a/textproc/libxml/Makefile
+++ b/textproc/libxml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2001/05/26 21:51:51 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2001/06/11 02:05:15 jlam Exp $
#
DISTNAME= libxml-1.8.13
@@ -10,15 +10,11 @@ MAINTAINER= rh@netbsd.org
HOMEPAGE= http://xmlsoft.org/
COMMENT= XML parser, mainly used by the GNOME project
-.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 "../../devel/zlib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"