commit: 50eaa52a364a952e8bb59e293fb8e6ad91477149 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Mon Aug 2 20:21:00 2021 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Mon Aug 2 20:21:00 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50eaa52a
dev-libs/ptexenc: remove USE=static-libs Signed-off-by: David Seifert <soap <AT> gentoo.org> dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild b/dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild index b14b9944d1e..4226eb4c86a 100644 --- a/dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild +++ b/dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild @@ -8,42 +8,41 @@ inherit libtool DESCRIPTION="Library for Japanese pTeX providing a better way of handling character encodings" HOMEPAGE="http://tutimura.ath.cx/ptexlive/?ptexenc" SRC_URI="https://dev.gentoo.org/~zlogene/distfiles/texlive/texlive-${PV#*_p}-source.tar.xz" +S="${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}" LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos" -IUSE="iconv static-libs" +IUSE="iconv" -DEPEND="iconv? ( virtual/libiconv ) - dev-libs/kpathsea" +DEPEND=" + dev-libs/kpathsea + iconv? ( virtual/libiconv )" RDEPEND="${DEPEND}" -S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} - src_prepare() { default # https://bugs.gentoo.org/show_bug.cgi?id=377141 - sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' "${S}"/Makefile.in || die + sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' Makefile.in || die - cd "${WORKDIR}/texlive-${PV#*_p}-source" + cd "${WORKDIR}/texlive-${PV#*_p}-source" || die S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd } src_configure() { econf \ + --disable-static \ --with-system-kpathsea \ - $(use_enable static-libs static) \ $(use_enable iconv kanji-iconv) } src_install() { default - find "${D}" -name '*.la' -delete || die insinto /usr/include/ptexenc doins ptexenc/unicode-jp.h use iconv && doins ptexenc/kanjicnv.h - dodoc ChangeLog README + find "${ED}" -name '*.la' -delete || die }