--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ --- media-sound/ardour/ardour-4.6.ebuild.orig 2016-01-13 12:13:45.833062068 -0800 +++ media-sound/ardour/ardour-4.6.ebuild 2016-01-13 12:59:09.831934383 -0800 @@ -73,6 +73,7 @@ pkg_setup() { if has_version \>=dev-libs/libsigc++-2.6 ; then append-cxxflags -std=c++11 fi + python-any-r1_pkg_setup } src_prepare(){ @@ -81,7 +82,7 @@ src_prepare(){ touch "${S}/libs/ardour/revision.cc" fi use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch - sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript + sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die MARCH=$(get-flag march) if use cpu_flags_x86_sse; then if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then @@ -99,10 +100,12 @@ src_prepare(){ if use cpu_flags_x86_3dnow; then OPTFLAGS="${OPTFLAGS} 3dnow" fi - sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '${OPTFLAGS}' just some place holders\"/' \ - -i "${S}"/wscript - sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript + sed 's/flag_line\ =\ o.*/flag_line\ =\ \": '"${OPTFLAGS}"' just some place holders\"/' \ + -i "${S}"/wscript || die + sed 's/cpu\ ==\ .*/cpu\ ==\ "LeaveMarchAsIs":/' -i "${S}"/wscript || die append-flags "-lboost_system" + python_fix_shebang "${S}"/wscript + python_fix_shebang "${S}"/waf } src_configure() {