summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-10-30 09:43:35 +0000
committerseb <seb@pkgsrc.org>2002-10-30 09:43:35 +0000
commitb1a484c3a0839795086b7cb475ec38e181858cf4 (patch)
treefd2b24ca0e99eca8b2c851677885715804b9289f /textproc
parenta3edcd286b568888971f94b84a6515e79eb5eef6 (diff)
downloadpkgsrc-b1a484c3a0839795086b7cb475ec38e181858cf4.tar.gz
Use buildlink2. Use perl5/module.mk.
Take care of a hidden -and unneeded- dependency on pthread library with the help of BUILDLINK_TRANSFORM.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xerces-p/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/textproc/xerces-p/Makefile b/textproc/xerces-p/Makefile
index bd5fc8528f3..0a8081b5e73 100644
--- a/textproc/xerces-p/Makefile
+++ b/textproc/xerces-p/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/11/01 18:24:44 tron Exp $
+# $NetBSD: Makefile,v 1.8 2002/10/30 09:43:35 seb Exp $
#
DISTNAME= XML-Xerces-1.3.5
@@ -10,17 +10,16 @@ HOMEPAGE= http://xml.apache.org/xerces-p/
COMMENT= Validating XML parser API for Perl
DEPENDS+= swig-1.1p5:../../devel/swig
-DEPENDS+= xerces-c-1.3.*:../../textproc/xerces-c
-DEPENDS+= icu>=1.7:../../textproc/icu
-USE_PERL5= # defined
+USE_BUILDLINK2= YES
PERL5_REQD= 5.6.0
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Xerces/.packlist
-MAKE_ENV+= XERCES_LIB=${PREFIX}/lib
-MAKE_ENV+= XERCES_INCLUDE=${PREFIX}/include
+MAKE_ENV+= XERCES_LIB=${BUILDLINK_PREFIX.xerces-c}/lib
+MAKE_ENV+= XERCES_INCLUDE=${BUILDLINK_PREFIX.xerces-c}/include
-do-build:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL && make
+BUILDLINK_TRANSFORM+= s:-lpthread:
+.include "../../lang/perl5/module.mk"
+.include "../../textproc/xerces-c/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"