diff options
author | Akinori Hattori <hattya@gentoo.org> | 2020-08-11 22:16:21 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2020-08-11 22:16:21 +0900 |
commit | d5208c5b1bab20efa7a4b7b87b3a64ba6c418bbd (patch) | |
tree | c86f94a4792333d3b6997d42ab87e8a94912e272 /dev-libs/libspt | |
parent | dev-python/mecab-python: update to EAPI 7 (diff) | |
download | gentoo-d5208c5b1bab20efa7a4b7b87b3a64ba6c418bbd.tar.gz gentoo-d5208c5b1bab20efa7a4b7b87b3a64ba6c418bbd.tar.bz2 gentoo-d5208c5b1bab20efa7a4b7b87b3a64ba6c418bbd.zip |
dev-libs/libspt: add static-libs USE flag
Closes: https://bugs.gentoo.org/726980
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-libs/libspt')
-rw-r--r-- | dev-libs/libspt/libspt-1.1-r2.ebuild | 6 | ||||
-rw-r--r-- | dev-libs/libspt/libspt-1.1-r4.ebuild | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild b/dev-libs/libspt/libspt-1.1-r2.ebuild index c2411df796bd..84e91ac5b6ea 100644 --- a/dev-libs/libspt/libspt-1.1-r2.ebuild +++ b/dev-libs/libspt/libspt-1.1-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://www.j10n.org/${PN}/${P}.tar.bz2" LICENSE="BSD-2" SLOT="0" KEYWORDS="~alpha amd64 ppc x86" -IUSE="+libtirpc" +IUSE="+libtirpc static-libs" RESTRICT="test" RDEPEND="!libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) @@ -34,5 +34,7 @@ src_prepare() { } src_configure() { - econf $(use_with libtirpc) + econf \ + $(use_enable static-libs static) \ + $(use_with libtirpc) } diff --git a/dev-libs/libspt/libspt-1.1-r4.ebuild b/dev-libs/libspt/libspt-1.1-r4.ebuild index 4679b16bc3ff..1598b42d9b93 100644 --- a/dev-libs/libspt/libspt-1.1-r4.ebuild +++ b/dev-libs/libspt/libspt-1.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -12,7 +12,7 @@ SRC_URI="http://www.j10n.org/${PN}/${P}.tar.bz2" LICENSE="BSD-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="suid" +IUSE="static-libs suid" RESTRICT="test" RDEPEND="net-libs/libtirpc" @@ -33,7 +33,9 @@ src_prepare() { } src_configure() { - econf --with-libtirpc + econf \ + $(use_enable static-libs static) \ + --with-libtirpc } src_install() { |