aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2012-09-08 10:16:52 +0000
committerKoop Mast <kwm@FreeBSD.org>2012-09-08 10:16:52 +0000
commit3ba6b6330c1fca7e6505c4d3e6331f89662aacdb (patch)
tree1535bfd284d0bed4031996a13de302670c06278b /multimedia/gstreamer
parente934556f74774555354fe44d2727af7e8d95ec02 (diff)
downloadports-3ba6b6330c1fca7e6505c4d3e6331f89662aacdb.tar.gz
ports-3ba6b6330c1fca7e6505c4d3e6331f89662aacdb.zip
Notes
Diffstat (limited to 'multimedia/gstreamer')
-rw-r--r--multimedia/gstreamer/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile
index c82ae321e4e0..15da60a38bac 100644
--- a/multimedia/gstreamer/Makefile
+++ b/multimedia/gstreamer/Makefile
@@ -45,10 +45,13 @@ MAN1= gst-feedback-${GST_VERSION}.1 gst-inspect-${GST_VERSION}.1 \
gst-typefind-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1 \
gst-xmllaunch-${GST_VERSION}.1
+OPTIONS_DEFINE= LIBCHECK
+LIBCHECK_DESC= Unit tests support
+
.include <bsd.port.pre.mk>
-.if (exists(${LOCALBASE}/lib/libcheck.a) || defined(WITH_CHECK))
-LIB_DEPENDS+= check.0:${PORTSDIR}/devel/libcheck
+.if ${PORT_OPTIONS:MCHECK}
+LIB_DEPENDS+= check:${PORTSDIR}/devel/libcheck
PLIST_SUB+= CHECK=""
.else
CONFIGURE_ARGS+=--disable-check