[Bug 242634] multimedia/avidemux: update to 2.7.4

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 16 12:07:39 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242634

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

This can be written much nicer without using an if/else when setting
OPTIONS_SUB=yes (plist handling) and using
DCA_LIB_DEPENDS=libdca.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

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


More information about the freebsd-multimedia mailing list