From d162ba1860a88062f4cd61f8b52fc303ba0b2991 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Aug 2021 00:16:33 +0100 Subject: gentoo resync : 07.08.2021 --- dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild') diff --git a/dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild b/dev-libs/ptexenc/ptexenc-1.3.9_p20210325.ebuild index b14b9944d1e6..4226eb4c86a9 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 } -- cgit v1.2.3