diff options
author | Lars Thegler <lth@FreeBSD.org> | 2007-04-16 12:30:40 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2007-04-16 12:30:40 +0000 |
commit | 79bd2d8eeda9ea30ec9a6ec8da980e852b0e17dc (patch) | |
tree | a8618f184bca531f9485369204ec4cd045f12861 /devel/p5-Test-YAML-Valid | |
parent | 29337374b59b454f71a0305b42f17186ce6f6a6f (diff) |
Notes
Diffstat (limited to 'devel/p5-Test-YAML-Valid')
-rw-r--r-- | devel/p5-Test-YAML-Valid/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/devel/p5-Test-YAML-Valid/Makefile b/devel/p5-Test-YAML-Valid/Makefile index 90f2a9bb03f5..41a738816c4f 100644 --- a/devel/p5-Test-YAML-Valid/Makefile +++ b/devel/p5-Test-YAML-Valid/Makefile @@ -19,10 +19,18 @@ RUN_DEPENDS= p5-YAML>=0.60:${PORTSDIR}/textproc/p5-YAML \ p5-Test-Simple>0:${PORTSDIR}/devel/p5-Test-Simple BUILD_DEPENDS= ${RUN_DEPENDS} -IGNORE= is missing a dependency - PERL_CONFIGURE= yes MAN3= Test::YAML::Valid.3 -.include <bsd.port.mk> +OPTIONS= YAMLSYCK "Use YAML::Syck for testing" OFF + +post-configure: + ${PERL} -pi -e '$$_="" if /auto_install/' ${WRKSRC}/Makefile.PL + +.include <bsd.port.pre.mk> +.if defined(WITH_YAMLSYCK) +RUN_DEPENDS+= p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck +BUILD_DEPENDS+= p5-YAML-Syck>0:${PORTSDIR}/textproc/p5-YAML-Syck +.endif +.include <bsd.port.post.mk> |