dev-libs/libdivsufsort: build libdivsufsort64
authorFrançois-Xavier Carton <fx.carton91@gmail.com>
Tue, 4 Dec 2018 01:13:22 +0000 (02:13 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 7 Dec 2018 16:26:54 +0000 (17:26 +0100)
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>
dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild [moved from dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild with 79% similarity]
dev-libs/libdivsufsort/libdivsufsort-9999.ebuild

similarity index 79%
rename from dev-libs/libdivsufsort/libdivsufsort-2.0.1.ebuild
rename to dev-libs/libdivsufsort/libdivsufsort-2.0.1-r1.ebuild
index f507682f32d44cb1c6f6d9154ca66cd611e76a91..3d6d79ec991086b6c660d62e71942492c4149d52 100644 (file)
@@ -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
+}
index 9dcaf6470b583c60518f12005159e9219af00ee6..65e76c91651d1c4ef124d8ee97d7bbdf5ade9261 100644 (file)
@@ -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
+}