1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Fix problem with optional dependecy

Noted by:	pointyhat via kris
This commit is contained in:
Lars Thegler 2007-04-16 12:30:40 +00:00
parent 29337374b5
commit 79bd2d8eed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190122

View File

@ -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>