Date: Sun, 1 Jul 2012 09:08:23 -0400 From: "Jason E. Hale" <bsdkaffee@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/169577: [MAINTAINER] audio/taglib: Convert to optionsNG Message-ID: <1341148103.960600.23199@mocha.verizon.net> Resent-Message-ID: <201207011310.q61DAAKC017531@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169577 >Category: ports >Synopsis: [MAINTAINER] audio/taglib: Convert to optionsNG >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jul 01 13:10:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jason E. Hale >Release: FreeBSD 9.0-RELEASE i386 >Organization: none >Environment: System: FreeBSD mocha.verizon.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan 19 11:42:41 EST 2012 Jason@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA9 i386 >Description: - Convert audio/taglib to new options framework - Drop shlib version requirement in LIB_DEPENDS >How-To-Repeat: - Use attached diff >Fix: --- 2012-07-01-taglib.diff begins here --- diff -ruN taglib.orig/Makefile taglib/Makefile --- taglib.orig/Makefile 2012-07-01 08:53:21.000000000 -0400 +++ taglib/Makefile 2012-07-01 08:59:20.000000000 -0400 @@ -19,27 +19,29 @@ LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL LICENSE_FILE_MPL= ${WRKSRC}/COPYING.MPL +OPTIONS_DEFINE= RCC + +RCC_DESC= Build with RusXMMS librcc patches (experimental) + USE_CMAKE= yes CMAKE_ARGS= -DWITH_ASF:BOOL=ON \ -DWITH_MP4:BOOL=ON MAKE_JOBS_SAFE= yes USE_LDCONFIG= yes -OPTIONS= RCC "Build with RusXMMS librcc patches (experimental)" off - .include <bsd.port.options.mk> -.if defined(WITH_RCC) +.if ${PORT_OPTIONS:MRCC} PKGNAMESUFFIX= -rcc EXTRA_PATCHES+= ${FILESDIR}/extrapatch-rcc -LIB_DEPENDS+= rcc.2:${PORTSDIR}/devel/librcc +LIB_DEPENDS+= rcc:${PORTSDIR}/devel/librcc PLIST_SUB+= RCC="" .else PLIST_SUB+= RCC="@comment " .endif post-patch: -.if defined(WITH_RCC) +.if ${PORT_OPTIONS:MRCC} @${REINPLACE_CMD} -e 's|-ltag|-ltag -lrcc|g' \ ${WRKSRC}/taglib.pc.cmake ${WRKSRC}/taglib-config.cmake \ ${WRKSRC}/bindings/c/taglib_c.pc.cmake --- 2012-07-01-taglib.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1341148103.960600.23199>