Convert automatic dependancy to OPTION

PR:		ports/170483
Submitted by:	"A.J. Kehoe IV (Nanoman)" <9ya139x4@nanoman.ca>
This commit is contained in:
Koop Mast 2012-09-08 10:16:52 +00:00
parent e934556f74
commit 3ba6b6330c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303888

View file

@ -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