diff options
author | Martin Väth <martin@mvath.de> | 2017-08-19 16:34:42 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2017-08-19 16:34:42 +0200 |
commit | 340fc6c5b9afc48ab6dd18bd0d62ba437acda969 (patch) | |
tree | e048c0ef8c712772f977078acd53daad3f5e3fc6 | |
parent | media-video/avidemux: Version bump, keeping old (diff) | |
download | mv-340fc6c5b9afc48ab6dd18bd0d62ba437acda969.tar.gz mv-340fc6c5b9afc48ab6dd18bd0d62ba437acda969.tar.bz2 mv-340fc6c5b9afc48ab6dd18bd0d62ba437acda969.zip |
media-video/avidemux: Fix gold underlinking properly
-rw-r--r-- | media-video/avidemux/avidemux-2.7.0-r1.ebuild (renamed from media-video/avidemux/avidemux-2.7.0.ebuild) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media-video/avidemux/avidemux-2.7.0.ebuild b/media-video/avidemux/avidemux-2.7.0-r1.ebuild index 1bc9fed8..5ac9c601 100644 --- a/media-video/avidemux/avidemux-2.7.0.ebuild +++ b/media-video/avidemux/avidemux-2.7.0-r1.ebuild @@ -77,6 +77,8 @@ src_prepare() { # Fix underlinking with gold sed -i -e 's/-lm/-lXext -lm/' avidemux/qt4/CMakeLists.txt || die + sed -i -e 's/{QT_QTGUI_LIBRARY}/{QT_QTGUI_LIBRARY} -lXext/' \ + avidemux/common/ADM_render/CMakeLists.txt || die } src_configure() { @@ -123,7 +125,6 @@ src_configure() { ) if use qt4 || use qt5 ; then - append-ldflags -lXext export QT_SELECT processes+=" buildQt4:avidemux/qt4" fi |