summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-12-13 13:26:17 +0100
committerMarek Szuba <marecki@gentoo.org>2020-12-13 13:26:49 +0100
commitdcfab2f6b9d7220d97871f94ad68d5f6fcd7d11b (patch)
tree7edd7af1ea2edd8b7ba1f3d2c79b01c902544984 /app-text/sword
parentdev-libs/liblinear-241: fix compilation/install on Darwin (diff)
downloadgentoo-dcfab2f6b9d7220d97871f94ad68d5f6fcd7d11b.tar.gz
gentoo-dcfab2f6b9d7220d97871f94ad68d5f6fcd7d11b.tar.bz2
gentoo-dcfab2f6b9d7220d97871f94ad68d5f6fcd7d11b.zip
app-text/sword-1.9.0: drop USE=static-libs support
No idea why we needed it in this package to begin with. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-text/sword')
-rw-r--r--app-text/sword/sword-1.9.0-r1.ebuild (renamed from app-text/sword/sword-1.9.0.ebuild)7
1 files changed, 4 insertions, 3 deletions
diff --git a/app-text/sword/sword-1.9.0.ebuild b/app-text/sword/sword-1.9.0-r1.ebuild
index b53e698cb50e..edd796fc48f7 100644
--- a/app-text/sword/sword-1.9.0.ebuild
+++ b/app-text/sword/sword-1.9.0-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://www.crosswire.org/ftpmirror/pub/${PN}/source/v${PV%.*}/${P}.tar
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos"
-IUSE="clucene curl debug doc icu static-libs"
+IUSE="clucene curl debug doc icu"
RDEPEND="sys-libs/zlib
curl? ( net-misc/curl )
@@ -26,16 +26,17 @@ DOCS=( AUTHORS CODINGSTYLE ChangeLog README )
src_configure() {
use doc && DOCS+=( examples/ samples/ )
+ # Upstream default is to build both the shared and the static library,
+ # make sure we only build the shared one.
local mycmakeargs=(
-DSYSCONF_INSTALL_DIR="${EPREFIX}/etc"
-DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+ -DLIBSWORD_LIBRARY_TYPE="Shared"
-DWITH_CLUCENE=$(usex clucene)
-DWITH_CURL=$(usex curl)
-DWITH_ICU=$(usex icu)
-DWITH_ZLIB=1
)
- # Upstream default is to build both the shared and the static library
- use static-libs || mycmakeargs+=( -DLIBSWORD_LIBRARY_TYPE="Shared" )
cmake_src_configure
}