mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
mail/mlmmj: reduce the number of dependencies necessary to build
Use the "testing" Feature" to activate testing PR: 278665
This commit is contained in:
parent
126aa7a0f6
commit
2612aa236e
2 changed files with 11 additions and 1 deletions
|
@ -472,6 +472,7 @@ SUBPACKAGES+= ${${opt}_SUBPACKAGES_OFF}
|
|||
. endif
|
||||
. endif
|
||||
. endfor
|
||||
|
||||
. for opt in ${_REALLY_ALL_POSSIBLE_OPTIONS}
|
||||
# PLIST_SUB
|
||||
PLIST_SUB?=
|
||||
|
|
|
@ -27,8 +27,9 @@ PERL_RUN_DEPENDS= p5-URI>0:net/p5-URI \
|
|||
p5-HTML-Parser>0:www/p5-HTML-Parser
|
||||
PHP_USES= php:web
|
||||
|
||||
BUILD_DEPENDS= kyua:devel/kyua \
|
||||
TEST_DEPENDS= kyua:devel/kyua \
|
||||
atf-sh:devel/atf
|
||||
TEST_TARGET= check
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
|
@ -45,4 +46,12 @@ post-install-PHP-on:
|
|||
@(cd ${WRKSRC}/contrib/web && ${COPYTREE_SHARE} "php-*" \
|
||||
${STAGEDIR}${WWWDIR})
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_TESTING)
|
||||
CONFIGURE_ARGS+= --enable-tests
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-tests
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue