summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-03-20 21:24:24 +0100
committerFabian Groffen <grobian@gentoo.org>2017-03-20 21:24:35 +0100
commit37b5d589e58986fa4ef1de6caeae807dc4f58657 (patch)
treea85a38bc3bc400d48f23cf63d0ec6cec2a60e633 /media-video/ffmpeg
parentwww-client/firefox: add nsplugin use flag to override the NPAPI-plugin-disabl... (diff)
downloadgentoo-37b5d589e58986fa4ef1de6caeae807dc4f58657.tar.gz
gentoo-37b5d589e58986fa4ef1de6caeae807dc4f58657.tar.bz2
gentoo-37b5d589e58986fa4ef1de6caeae807dc4f58657.zip
media-video/ffmpeg: add Prefix keywords and Solaris fix, bug #612366
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r--media-video/ffmpeg/ffmpeg-3.2.4.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-video/ffmpeg/ffmpeg-3.2.4.ebuild b/media-video/ffmpeg/ffmpeg-3.2.4.ebuild
index 9e611292a7b6..ef8ed6df468e 100644
--- a/media-video/ffmpeg/ffmpeg-3.2.4.ebuild
+++ b/media-video/ffmpeg/ffmpeg-3.2.4.ebuild
@@ -54,7 +54,7 @@ LICENSE="
samba? ( GPL-3 )
"
if [ "${PV#9999}" = "${PV}" ] ; then
- KEYWORDS="~alpha amd64 arm hppa ~mips ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+ KEYWORDS="~alpha amd64 arm hppa ~mips ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
fi
# Options to use as use_enable in the foo[:bar] form.
@@ -292,6 +292,10 @@ src_prepare() {
export revision=git-N-${FFMPEG_REVISION}
fi
default
+
+ # the version script on Solaris causes invalid symbol version problems
+ # we don't want their hacky workarounds, we're having a GNU ld
+ sed -i -e 's/sunos)/sunos) network_extralibs="-lsocket -lnsl"; add_cppflags -D__EXTENSIONS__; enable pic; disable symver ;; no-sunos)/' configure || die
}
multilib_src_configure() {