Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2020 12:07:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 242634] multimedia/avidemux: update to 2.7.4
Message-ID:  <bug-242634-12827-iUHDWcAybX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242634-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242634-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242634

--- Comment #14 from Tobias C. Berner <tcberner@freebsd.org> ---
.if ${PORT_OPTIONS:MDCA}
LIB_DEPENDS+=3D   libdca.so:multimedia/libdca
PLIST_SUB+=3D     DCA=3D""
.else
CMAKE_ARGS+=3D    -DLIBDCA:BOOL=3DOFF
PLIST_SUB+=3D     DCA=3D"@comment "
.endif

This can be written much nicer without using an if/else when setting
OPTIONS_SUB=3Dyes (plist handling) and using
DCA_LIB_DEPENDS=3Dlibdca.so:multimedia/libdca [1]

mfg Tobias


[1] See chapters 5.13.3.10 and 5.13.3.1 in the porters handbook:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile=
-options.htm

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242634-12827-iUHDWcAybX>