summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/chessx/chessx-1.5.4-r2.ebuild')
-rw-r--r--games-board/chessx/chessx-1.5.4-r2.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/games-board/chessx/chessx-1.5.4-r2.ebuild b/games-board/chessx/chessx-1.5.4-r2.ebuild
index f24f065884e8..4e6ee73c8796 100644
--- a/games-board/chessx/chessx-1.5.4-r2.ebuild
+++ b/games-board/chessx/chessx-1.5.4-r2.ebuild
@@ -41,6 +41,13 @@ PATCHES=(
"${FILESDIR}"/${P}-install.patch
)
+src_prepare() {
+ default
+ if has_version "<dev-libs/quazip-1.0"; then
+ sed -e "/^PKGCONFIG/s/quazip/quazip1-qt5/" -i chessx.pro || die
+ fi
+}
+
src_configure() {
eqmake5
}