aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwoodsb02 <woodsb02@FreeBSD.org>2017-02-05 21:03:38 +0800
committerwoodsb02 <woodsb02@FreeBSD.org>2017-02-05 21:03:38 +0800
commitcf981c04692245e9f89db38af784629d037578ca (patch)
tree892a78cdb8ded7a05234bcf5d2afabf72a6fb845
parent79a7d97508838da6bfa3a148b874dd5da15c8d31 (diff)
downloadfreebsd-ports-gnome-cf981c04692245e9f89db38af784629d037578ca.tar.gz
freebsd-ports-gnome-cf981c04692245e9f89db38af784629d037578ca.tar.zst
freebsd-ports-gnome-cf981c04692245e9f89db38af784629d037578ca.zip
audio/logitechmediaserver: Make testing vendor perl modules optional
Submitted by: Mark Dixon (maintainer) Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D8872
-rw-r--r--audio/logitechmediaserver/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/logitechmediaserver/Makefile b/audio/logitechmediaserver/Makefile
index b1710dbd06bb..0c4fcff2dab3 100644
--- a/audio/logitechmediaserver/Makefile
+++ b/audio/logitechmediaserver/Makefile
@@ -43,8 +43,8 @@ SHEBANG_FILES= Bin/darwin/check-update.pl \
# Defaults support playback of relativly unrestricted formats on SB2 or
# SB3 devices and wired SB1 devices.
-OPTIONS_DEFINE= APE FAAD FLAC LAME SHORTEN SOX DOCS
-OPTIONS_DEFAULT=APE FAAD FLAX SOX
+OPTIONS_DEFINE= APE FAAD FLAC LAME SHORTEN SOX TEST DOCS
+OPTIONS_DEFAULT=APE FAAD FLAX SOX TEST
SHORTEN_DESC= Support Shorten input
SOX_DESC= Support OGG Vorbis input via SoX (SliMP3 and SB1)
@@ -54,6 +54,7 @@ FLAC_RUN_DEPENDS= flac:audio/flac
LAME_RUN_DEPENDS= lame:audio/lame
SHORTEN_RUN_DEPENDS= shorten:audio/shorten
SOX_RUN_DEPENDS= sox:audio/sox
+TEST_VARS_OFF= CONTRIB_FLAGS=-t
USE_RC_SUBR= logitechmediaserver
DOCFILES= Changelog*.html Installation.txt License*.txt
@@ -101,7 +102,7 @@ PLIST_SUB+= AMD64_ONLY="@comment "
.endif
do-build:
- cd ${WRKSRC_vendor}/CPAN && ./buildme.sh
+ cd ${WRKSRC_vendor}/CPAN && ./buildme.sh ${CONTRIB_FLAGS}
cd ${WRKSRC}/CPAN/arch && ${CP} -R 5.22 5.24
do-install: