Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2020 22:38:00 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522291 - head/multimedia/libvpx
Message-ID:  <202001062238.006Mc0ip020164@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Jan  6 22:37:59 2020
New Revision: 522291
URL: https://svnweb.freebsd.org/changeset/ports/522291

Log:
  multimedia/libvpx: convert to _ENABLE option helper

Modified:
  head/multimedia/libvpx/Makefile   (contents, props changed)

Modified: head/multimedia/libvpx/Makefile
==============================================================================
--- head/multimedia/libvpx/Makefile	Mon Jan  6 22:37:48 2020	(r522290)
+++ head/multimedia/libvpx/Makefile	Mon Jan  6 22:37:59 2020	(r522291)
@@ -36,32 +36,30 @@ OPTIONS_DEFAULT=HI10P MULTIRES POSTPROC RTCPU SHARED S
 OPTIONS_EXCLUDE_powerpcspe=RTCPU
 OPTIONS_SUB=		yes
 
-DEBUG_CONFIGURE_ON=	--enable-debug
+DEBUG_CONFIGURE_ENABLE=	debug
 
 HI10P_DESC=		VP9 high bit depth (10/12) profiles
-HI10P_CONFIGURE_ON=	--enable-vp9-highbitdepth
+HI10P_CONFIGURE_ENABLE=	vp9-highbitdepth
 
 MULTIRES_DESC=		Enable multi-resolution encoding
-MULTIRES_CONFIGURE_ON=	--enable-multi-res-encoding
+MULTIRES_CONFIGURE_ENABLE=	multi-res-encoding
 
 POSTPROC_DESC=		Enable postprocessing
-POSTPROC_CONFIGURE_ON=	--enable-vp9-postproc \
-			--enable-vp9-temporal-denoising
-POSTPROC_CONFIGURE_OFF=	--disable-postproc
+POSTPROC_CONFIGURE_ENABLE=	postproc vp9-postproc vp9-temporal-denoising
 
 RTCPU_DESC=		Detect CPU capabilities at runtime
-RTCPU_CONFIGURE_OFF=	--disable-runtime-cpu-detect
+RTCPU_CONFIGURE_ENABLE=	runtime-cpu-detect
 
 SHARED_DESC=		Enable shared-library support
-SHARED_CONFIGURE_ON=	--enable-shared
+SHARED_CONFIGURE_ENABLE=shared
 
 SIZE_LIMIT_DESC=	Maximum size allowed by decoder: ${SIZE_LIMIT}
 SIZE_LIMIT_CONFIGURE_ON=--size-limit=${SIZE_LIMIT}
 SIZE_LIMIT?=		16384x16384 # Chromium; Firefox has 8192x4608
 
-TEST_CONFIGURE_OFF=	--disable-unit-tests
+TEST_CONFIGURE_ENABLE=	unit-tests
 
-THREADS_CONFIGURE_OFF=	--disable-multithread
+THREADS_CONFIGURE_ENABLE=	multithread
 
 post-patch:
 	@${REINPLACE_CMD} -E '/gcctarget|link_with_cc/s/gcc[[:>:]]/$${CC}/' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001062238.006Mc0ip020164>