From 3ba6b6330c1fca7e6505c4d3e6331f89662aacdb Mon Sep 17 00:00:00 2001 From: Koop Mast Date: Sat, 8 Sep 2012 10:16:52 +0000 Subject: [PATCH] Convert automatic dependancy to OPTION PR: ports/170483 Submitted by: "A.J. Kehoe IV (Nanoman)" <9ya139x4@nanoman.ca> --- multimedia/gstreamer/Makefile | 7 +++++-- 1 file 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 -.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