diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-04 20:20:03 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-04 20:20:03 +0000 |
commit | 99eab95c0a4fcc309c6fa49bc6f2de9ae0f59fe8 (patch) | |
tree | 51db4a088761c3e2c1c735a3c4ec91ae05d911ae /textproc | |
parent | 7f57e43a0a0ce0800251c708665d61fc9580ed4d (diff) | |
download | pkgsrc-99eab95c0a4fcc309c6fa49bc6f2de9ae0f59fe8.tar.gz |
Fixed the "test" phase by adding a dependency on Perl, but only if the
tests are enabled.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libxml2/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index 03a377ba78e..884d5a834bc 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.81 2006/10/01 08:53:05 schwarz Exp $ +# $NetBSD: Makefile,v 1.82 2006/10/04 20:20:03 rillig Exp $ DISTNAME= libxml2-2.6.26 CATEGORIES= textproc @@ -32,7 +32,12 @@ CONFIGURE_ENV+= F77=${FALSE:Q} MAKE_ENV+= PAX=${PAX:Q} +.include "../../mk/bsd.prefs.mk" + +.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) +USE_TOOLS+= perl TEST_TARGET= check +.endif SUBST_CLASSES+= cat SUBST_STAGE.cat= pre-configure @@ -40,7 +45,6 @@ SUBST_FILES.cat= catalog.c xmlcatalog.c SUBST_SED.cat= -e "s,@@SGML_DEFAULT_CATALOG@@,${SGML_DEFAULT_CATALOG},g" SUBST_SED.cat+= -e "s,@@XML_DEFAULT_CATALOG@@,${XML_DEFAULT_CATALOG},g" -.include "../../mk/bsd.prefs.mk" .if !empty(LOWER_OPSYS:Mirix5*) # needs glob.h . include "../../pkgtools/libnbcompat/buildlink3.mk" |