diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2015-01-07 19:58:50 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2015-01-07 19:58:50 +0000 |
commit | e343b4d6ee7935709549e88c538292ec7d742f8b (patch) | |
tree | ef7ac2d9a091c7d1d2578e4daac7f76eb376d7b2 /www/p5-CGI-Application-Plugin-TT | |
parent | 73b203df5a648f37b5f467d7ba86e3dc14157b0c (diff) | |
download | ports-e343b4d6ee7935709549e88c538292ec7d742f8b.tar.gz ports-e343b4d6ee7935709549e88c538292ec7d742f8b.zip |
www/p5-CGI-Application-Plugin-TT: make
p5-CGI-Application-Plugin-DevHelp optional
Currently, p5-CGI-Application-Plugin-DevHelp is a hard dependency in
p5-CGI-Application-Plugin-TT. However, C::A::P::TT operates just fine
without it. The attached patch turns the dependency into an OPTION
that defaults to on.
Just for the sake of having a reference,
http://cpansearch.perl.org/src/CEESHEK/CGI-Application-Plugin-TT-1.05/
META.yml lists it as a "recommends" but not a "requires."
PR: 196472
Differential Revision: https://reviews.freebsd.org/D1451
Submitted by: adamw
Approved by: marino(mentor)
Notes
Notes:
svn path=/head/; revision=376496
Diffstat (limited to 'www/p5-CGI-Application-Plugin-TT')
-rw-r--r-- | www/p5-CGI-Application-Plugin-TT/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/www/p5-CGI-Application-Plugin-TT/Makefile b/www/p5-CGI-Application-Plugin-TT/Makefile index ae5acd6e8ba5..7593822bd3a6 100644 --- a/www/p5-CGI-Application-Plugin-TT/Makefile +++ b/www/p5-CGI-Application-Plugin-TT/Makefile @@ -3,7 +3,7 @@ PORTNAME= CGI-Application-Plugin-TT PORTVERSION= 1.05 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -16,11 +16,16 @@ LICENSE_COMB= dual BUILD_DEPENDS= p5-CGI-Application>=0:${PORTSDIR}/www/p5-CGI-Application \ p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \ - p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA \ - p5-CGI-Application-Plugin-DevPopup>=0:${PORTSDIR}/www/p5-CGI-Application-Plugin-DevPopup + p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA RUN_DEPENDS:= ${BUILD_DEPENDS} USES= perl5 USE_PERL5= modbuild +OPTIONS_DEFINE= DEVPOPUP +OPTIONS_DEFAULT=DEVPOPUP +DEVPOPUP_DESC= Include support for run-time reports +DEVPOPUP_BUILD_DEPENDS= p5-CGI-Application-Plugin-DevPopup>=0:${PORTSDIR}/www/p5-CGI-Application-Plugin-DevPopup +DEVPOPUP_RUN_DEPENDS:= ${DEVPOPUP_BUILD_DEPENDS} + .include <bsd.port.mk> |