/[gentoo-x86]/media-video/vlc/vlc-9999.ebuild
Gentoo

Diff of /media-video/vlc/vlc-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.228 Revision 1.229
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.228 2014/12/15 05:50:48 dlan Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-9999.ebuild,v 1.229 2015/01/26 13:45:35 dlan Exp $
4 4
5EAPI="5" 5EAPI="5"
6 6
7SCM="" 7SCM=""
8if [ "${PV%9999}" != "${PV}" ] ; then 8if [ "${PV%9999}" != "${PV}" ] ; then
220 # 220 #
221 # http://gcc.gnu.org/c99status.html 221 # http://gcc.gnu.org/c99status.html
222 if [[ "$(tc-getCC)" == *"gcc"* ]] ; then 222 if [[ "$(tc-getCC)" == *"gcc"* ]] ; then
223 sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die 223 sed -i 's/ifndef __FAST_MATH__/if 0/g' configure.ac || die
224 fi 224 fi
225
226 # _FORTIFY_SOURCE is set to 2 by default on Gentoo, remove redefine warnings.
227 sed -i '/_FORTIFY_SOURCE.*, 2,/d' configure.ac || die
228 225
229 # Bootstrap when we are on a git checkout. 226 # Bootstrap when we are on a git checkout.
230 if [[ "${PV%9999}" != "${PV}" ]] ; then 227 if [[ "${PV%9999}" != "${PV}" ]] ; then
231 ./bootstrap 228 ./bootstrap
232 fi 229 fi
437 --disable-vda \ 434 --disable-vda \
438 --disable-vsxu \ 435 --disable-vsxu \
439 --disable-wasapi 436 --disable-wasapi
440 437
441 # ^ We don't have these disabled libraries in the Portage tree yet. 438 # ^ We don't have these disabled libraries in the Portage tree yet.
439
440 # _FORTIFY_SOURCE is set to 2 in config.h, which is also the default value on Gentoo.
441 # Other values of _FORTIFY_SOURCE may break the build (bug 523144), so definition should not be removed from config.h.
442 # To prevent redefinition warnings, we undefine _FORTIFY_SOURCE at the very start of config.h file
443 sed -i '1i#undef _FORTIFY_SOURCE' ${S}/config.h || die
442} 444}
443 445
444src_test() { 446src_test() {
445 Xemake check-TESTS 447 Xemake check-TESTS
446} 448}

Legend:
Removed from v.1.228  
changed lines
  Added in v.1.229

  ViewVC Help
Powered by ViewVC 1.1.20