From e7dbfd55b5b936cc84e474c3d1d7f9d2fcd2336f Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sun, 5 Oct 2014 20:55:54 +0000 Subject: [PATCH] x264: fix x86_64 build. * add provides for cmd. --- media-libs/x264/x264-20140308.recipe | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/media-libs/x264/x264-20140308.recipe b/media-libs/x264/x264-20140308.recipe index 72e40505b..051854bc3 100644 --- a/media-libs/x264/x264-20140308.recipe +++ b/media-libs/x264/x264-20140308.recipe @@ -10,7 +10,7 @@ LICENSE="GNU GPL v2" SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20140308-2245.tar.bz2" CHECKSUM_SHA256="b179cb1e1d4f51418d292011a7494d5b62145571c05c22007f28d8fd89d2ebbe" REVISION="1" -ARCHITECTURES="x86 !x86_64" +ARCHITECTURES="x86 x86_64" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then # x86_gcc2 is fine as primary target architecture as long as we're building # for a different secondary architecture. @@ -22,6 +22,7 @@ PATCHES="x264-$portVersion.patchset" PROVIDES=" x264$secondaryArchSuffix = $portVersion compat >= 20140308 + cmd:x264$secondaryArchSuffix lib:libx264$secondaryArchSuffix = 142 compat >= 142 " REQUIRES=" @@ -47,7 +48,8 @@ BUILD() { CFLAGS="-fPIC" runConfigure --omit-dirs \ "manDir oldIncludeDir sbinDir localStateDir sharedStateDir sysconfDir infoDir dataDir dataRootDir libExecDir docDir" \ - --omit-buildspec ./configure --enable-pic --enable-shared + --omit-buildspec ./configure --enable-pic --enable-shared \ + --extra-ldflags='-Wl,-Bsymbolic' make $jobArgs } @@ -56,6 +58,7 @@ INSTALL() make install prepareInstalledDevelLibs libx264 + fixPkgconfig # devel package packageEntries devel \