media-video/vlc: Compact lines
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 13 Feb 2018 23:31:41 +0000 (00:31 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 13 Feb 2018 23:38:21 +0000 (00:38 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

media-video/vlc/vlc-3.0.0-r1.ebuild
media-video/vlc/vlc-3.0.9999.ebuild
media-video/vlc/vlc-9999.ebuild

index db7fcef63088bf217983a9eba41224bd2eb94662..2690e5572c6fce9a43bd2748fffbe07d2e4089da 100644 (file)
@@ -254,7 +254,8 @@ S="${WORKDIR}/${MY_P}"
 src_prepare() {
        default
 
-       has_version '>=net-libs/libupnp-1.8.0' && eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch
+       has_version '>=net-libs/libupnp-1.8.0' && \
+               eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch
 
        # Bootstrap when we are on a git checkout.
        if [[ ${PV} = *9999 ]] ; then
@@ -458,8 +459,8 @@ src_configure() {
        econf ${myeconfargs[@]}
 
        # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo.
-       # Other values of _FORTIFY_SOURCE may break the build (bug 523144), so definition should not be removed from config.h.
-       # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the very start of config.h file
+       # Other values may break the build (bug 523144), so definition should not be removed.
+       # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h
        sed -i '1i#undef _FORTIFY_SOURCE' config.h || die
 }
 
index db7fcef63088bf217983a9eba41224bd2eb94662..2690e5572c6fce9a43bd2748fffbe07d2e4089da 100644 (file)
@@ -254,7 +254,8 @@ S="${WORKDIR}/${MY_P}"
 src_prepare() {
        default
 
-       has_version '>=net-libs/libupnp-1.8.0' && eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch
+       has_version '>=net-libs/libupnp-1.8.0' && \
+               eapply "${FILESDIR}"/${PN}-2.2.8-libupnp-slot-1.8.patch
 
        # Bootstrap when we are on a git checkout.
        if [[ ${PV} = *9999 ]] ; then
@@ -458,8 +459,8 @@ src_configure() {
        econf ${myeconfargs[@]}
 
        # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo.
-       # Other values of _FORTIFY_SOURCE may break the build (bug 523144), so definition should not be removed from config.h.
-       # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the very start of config.h file
+       # Other values may break the build (bug 523144), so definition should not be removed.
+       # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h
        sed -i '1i#undef _FORTIFY_SOURCE' config.h || die
 }
 
index 000f28b2d09208124b8c818ad718d086067f4ba7..20e1156924388eeec71a3d835a61d0caab7b173f 100644 (file)
@@ -254,7 +254,8 @@ S="${WORKDIR}/${MY_P}"
 src_prepare() {
        default
 
-       has_version '>=net-libs/libupnp-1.8.0' && eapply "${FILESDIR}"/${P}-libupnp-slot-1.8.patch
+       has_version '>=net-libs/libupnp-1.8.0' && \
+               eapply "${FILESDIR}"/${P}-libupnp-slot-1.8.patch
 
        # Bootstrap when we are on a git checkout.
        if [[ ${PV} = *9999 ]] ; then
@@ -458,8 +459,8 @@ src_configure() {
        econf ${myeconfargs[@]}
 
        # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo.
-       # Other values of _FORTIFY_SOURCE may break the build (bug 523144), so definition should not be removed from config.h.
-       # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the very start of config.h file
+       # Other values may break the build (bug 523144), so definition should not be removed.
+       # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the start of config.h
        sed -i '1i#undef _FORTIFY_SOURCE' config.h || die
 }