pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/libxml2 Fixed the "test" phase by adding a de...
details: https://anonhg.NetBSD.org/pkgsrc/rev/09f1bf455891
branches: trunk
changeset: 519508:09f1bf455891
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Oct 04 20:20:03 2006 +0000
description:
Fixed the "test" phase by adding a dependency on Perl, but only if the
tests are enabled.
diffstat:
textproc/libxml2/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 9d2449b49bac -r 09f1bf455891 textproc/libxml2/Makefile
--- a/textproc/libxml2/Makefile Wed Oct 04 20:19:52 2006 +0000
+++ b/textproc/libxml2/Makefile Wed Oct 04 20:20:03 2006 +0000
@@ -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 @@
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_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"
Home |
Main Index |
Thread Index |
Old Index