aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@riseup.net>2021-04-12 23:09:00 +0200
committerMaciej Barć <xgqt@riseup.net>2021-04-12 23:10:38 +0200
commit5b27031464a40602c9c9379107e4b23bf784a700 (patch)
tree7c66e655476e78cb44a481b9a6be8dbd42337e36 /app-arch
parentdev-vcs/gitqlient: 1.3.2 version bump (diff)
downloadguru-5b27031464a40602c9c9379107e4b23bf784a700.tar.gz
guru-5b27031464a40602c9c9379107e4b23bf784a700.tar.bz2
guru-5b27031464a40602c9c9379107e4b23bf784a700.zip
app-arch/libarchive-qt: add static-libs USE to the live ebuild
for bug 780999; don't close yet, this commit is only for live, a release with USE=static-libs is on the way Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/libarchive-qt/libarchive-qt-9999.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-arch/libarchive-qt/libarchive-qt-9999.ebuild b/app-arch/libarchive-qt/libarchive-qt-9999.ebuild
index 39ebdda53..74abd09fd 100644
--- a/app-arch/libarchive-qt/libarchive-qt-9999.ebuild
+++ b/app-arch/libarchive-qt/libarchive-qt-9999.ebuild
@@ -20,6 +20,7 @@ fi
RESTRICT="test"
LICENSE="LGPL-3"
SLOT="0"
+IUSE="static-libs"
DEPEND="
app-arch/libarchive[lzma,bzip2,zlib]
@@ -29,3 +30,10 @@ DEPEND="
dev-qt/qtgui:5
"
RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DINSTALL_STATIC=$(usex static-libs)
+ )
+ cmake_src_configure
+}