summaryrefslogtreecommitdiffstats
path: root/dev-tqt
diff options
context:
space:
mode:
authorChris <xchrisx@uber.space>2020-04-27 00:32:23 +0200
committerChris <xchrisx@uber.space>2020-04-27 00:32:23 +0200
commit1921c77796b1310fbb019274e5ac3fb75378a595 (patch)
tree32bac177f8288586646eb3037a6a83accc0cf9f0 /dev-tqt
parent8030f4f93c8f5dce0d5f32797fbead4fac07b221 (diff)
downloadtde-packaging-gentoo-1921c77796b1310fbb019274e5ac3fb75378a595.tar.gz
tde-packaging-gentoo-1921c77796b1310fbb019274e5ac3fb75378a595.zip
TQt: Improve `qmake.conf` fixing.
Signed-off-by: Chris <xchrisx@uber.space>
Diffstat (limited to 'dev-tqt')
-rw-r--r--dev-tqt/tqt/tqt-14.0.6.ebuild8
-rw-r--r--dev-tqt/tqt/tqt-9999.ebuild8
2 files changed, 8 insertions, 8 deletions
diff --git a/dev-tqt/tqt/tqt-14.0.6.ebuild b/dev-tqt/tqt/tqt-14.0.6.ebuild
index 9768add3..508b8818 100644
--- a/dev-tqt/tqt/tqt-14.0.6.ebuild
+++ b/dev-tqt/tqt/tqt-14.0.6.ebuild
@@ -217,13 +217,13 @@ src_compile() {
}
src_install() {
- # Fix qmake.conf files
- find "${S}"/mkspecs -name qmake.conf | xargs \
- sed -i -e "s:\$(QTDIR):${TQTBASE}:" || die
-
# Install TQt with all compiled before
emake INSTALL_ROOT="${D}" install
+ # Fix qmake.conf files
+ find "${D}${TQTBASE}/mkspecs" -name qmake.conf | xargs \
+ sed -i -e "s:\$(QTDIR):${TQTBASE}:" || die
+
# Fix pkgconfig location
dodir /usr/$(get_libdir)
mv "${D}${TQTBASE}/$(get_libdir)/pkgconfig" "${D}/usr/$(get_libdir)/"
diff --git a/dev-tqt/tqt/tqt-9999.ebuild b/dev-tqt/tqt/tqt-9999.ebuild
index 312c892b..bd38baee 100644
--- a/dev-tqt/tqt/tqt-9999.ebuild
+++ b/dev-tqt/tqt/tqt-9999.ebuild
@@ -216,13 +216,13 @@ src_compile() {
}
src_install() {
- # Fix qmake.conf files
- find "${S}"/mkspecs -name qmake.conf | xargs \
- sed -i -e "s:\$(TQTDIR):${TQTBASE}:" || die
-
# Install TQt with all compiled before
emake INSTALL_ROOT="${D}" install
+ # Fix qmake.conf files
+ find "${D}${TQTBASE}/mkspecs" -name qmake.conf | xargs \
+ sed -i -e "s:\$(TQTDIR):${TQTBASE}:" || die
+
# Fix pkgconfig location
dodir /usr/$(get_libdir)
mv "${D}${TQTBASE}/$(get_libdir)/pkgconfig" "${D}/usr/$(get_libdir)/"