net-wireless/linssid: don't use hard coded path for qwt6-qt5
authorConrad Kostecki <conrad@kostecki.com>
Thu, 5 Jul 2018 08:17:42 +0000 (10:17 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 6 Jul 2018 21:47:52 +0000 (23:47 +0200)
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9061

net-wireless/linssid/linssid-3.6.ebuild

index 3b0e116ee02e181421fc7e765c943cb35eb35689..79d6ce72d296c36721aef9a17b60ec85a52bc22d 100644 (file)
@@ -37,9 +37,7 @@ src_prepare() {
        sed -i -e 's/CONFIG += release/CONFIG += release qwt/' linssid-app.pro || die
 
        # Fix lib path for x11-libs/qwt
-       if use amd64; then
-               sed -i -e "s/lib\/libqwt-qt5.so.6/\/$(get_libdir)\/libqwt6-qt5.so.6/" linssid-app.pro || die
-       fi
+       sed -i -e '/libqwt-qt5.so.6/c\LIBS += -lqwt6-qt5' linssid-app.pro || die
 
        # Enable 'gksu' when a user don't want policykit
        if ! use policykit; then