Convert automatic dependancy to OPTION
PR: ports/170483 Submitted by: "A.J. Kehoe IV (Nanoman)" <9ya139x4@nanoman.ca>
This commit is contained in:
parent
e934556f74
commit
3ba6b6330c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303888
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue