summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/zygrib/zygrib-7.0.0.ebuild')
-rw-r--r--app-misc/zygrib/zygrib-7.0.0.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-misc/zygrib/zygrib-7.0.0.ebuild b/app-misc/zygrib/zygrib-7.0.0.ebuild
index 2b94c343a0a7..ff457a5c77d2 100644
--- a/app-misc/zygrib/zygrib-7.0.0.ebuild
+++ b/app-misc/zygrib/zygrib-7.0.0.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils qt4-r2
+inherit eutils qmake-utils qt4-r2
MY_PN="zyGrib"
@@ -37,7 +37,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
src_prepare() {
sed -i 's,INSTALLDIR=$(HOME)/zyGrib,INSTALLDIR=$(DESTDIR)/opt/zyGrib,' Makefile
- sed -i 's,QMAKE=/usr/bin/qmake-qt4,QMAKE=/usr/bin/qmake,' Makefile
+ sed -i "s,QMAKE=/usr/bin/qmake-qt4,QMAKE=$(qt4_get_bindir)/qmake," Makefile
}
src_install() {