summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois-Xavier Carton <fx.carton91@gmail.com>2018-12-04 02:13:22 +0100
committerMichał Górny <mgorny@gentoo.org>2018-12-07 17:26:54 +0100
commit4188f4f7f070ee8eac3de9c6ce7a9d1a55c01aa9 (patch)
tree4f099a9e68fa23724a42f37d05baa562ca5325fe /dev-libs/libdivsufsort
parentapp-emulation/libguestfs: 1.36.15 → 1.38.6 (diff)
downloadgentoo-4188f4f7f070ee8eac3de9c6ce7a9d1a55c01aa9.tar.gz
gentoo-4188f4f7f070ee8eac3de9c6ce7a9d1a55c01aa9.tar.bz2
gentoo-4188f4f7f070ee8eac3de9c6ce7a9d1a55c01aa9.zip
dev-libs/libdivsufsort: build libdivsufsort64
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libdivsufsort')
-rw-r--r--dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild (renamed from dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild)7
-rw-r--r--dev-libs/libdivsufsort/libdivsufsort-9999.ebuild7
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild b/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild
index f507682f32d4..3d6d79ec9910 100644
--- a/dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild
+++ b/dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -20,3 +20,8 @@ src_prepare() {
sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \
*/CMakeLists.txt || die
}
+
+src_configure() {
+ local mycmakeargs=("-DBUILD_DIVSUFSORT64=ON")
+ cmake-utils_src_configure
+}
diff --git a/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild b/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild
index 9dcaf6470b58..65e76c91651d 100644
--- a/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild
+++ b/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -21,3 +21,8 @@ src_prepare() {
sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \
*/CMakeLists.txt || die
}
+
+src_configure() {
+ local mycmakeargs=("-DBUILD_DIVSUFSORT64=ON")
+ cmake-utils_src_configure
+}