summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-08-27 19:50:37 +0000
committerFabian Groffen <grobian@gentoo.org>2011-08-27 19:50:37 +0000
commitb3f5feb7b6361f104a1e059d1307893de99ff848 (patch)
tree83068132aa8b96c430919db39a3234b44cc58040 /dev-libs/ptexenc
parentRespect CC,CFLAGS, fix install paths, don't strip binaries. Simplify ebuild. ... (diff)
downloadgentoo-2-b3f5feb7b6361f104a1e059d1307893de99ff848.tar.gz
gentoo-2-b3f5feb7b6361f104a1e059d1307893de99ff848.tar.bz2
gentoo-2-b3f5feb7b6361f104a1e059d1307893de99ff848.zip
Add patch by MATSUI Tetsushi to fix linking issues, bug #377141
(Portage version: 2.2.01.19074-prefix/cvs/Darwin i386)
Diffstat (limited to 'dev-libs/ptexenc')
-rw-r--r--dev-libs/ptexenc/ChangeLog6
-rw-r--r--dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild12
2 files changed, 15 insertions, 3 deletions
diff --git a/dev-libs/ptexenc/ChangeLog b/dev-libs/ptexenc/ChangeLog
index 1f6480c02cab..b493bd5a69f1 100644
--- a/dev-libs/ptexenc/ChangeLog
+++ b/dev-libs/ptexenc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/ptexenc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ChangeLog,v 1.15 2011/08/14 17:08:50 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ChangeLog,v 1.16 2011/08/27 19:50:37 grobian Exp $
+
+ 27 Aug 2011; Fabian Groffen <grobian@gentoo.org>
+ ptexenc-1.2.0_p20110705.ebuild:
+ Add patch by MATSUI Tetsushi to fix linking issues, bug #377141
14 Aug 2011; Markus Meier <maekke@gentoo.org> ptexenc-1.1.0_p20100722.ebuild:
arm stable, bug #355085
diff --git a/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild b/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild
index 3b635ae1352f..a4482f62b040 100644
--- a/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild
+++ b/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild,v 1.2 2011/07/27 19:48:11 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/ptexenc/ptexenc-1.2.0_p20110705.ebuild,v 1.3 2011/08/27 19:50:37 grobian Exp $
EAPI=3
@@ -11,7 +11,7 @@ SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x86-macos"
IUSE="iconv static-libs"
DEPEND="iconv? ( virtual/libiconv )
@@ -25,8 +25,16 @@ S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN}
# mv "${WORKDIR}/${P}" "${S}"
#}
+src_prepare() {
+ default
+
+ # https://bugs.gentoo.org/show_bug.cgi?id=377141
+ sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' "${S}"/Makefile.in || die
+}
+
src_configure() {
econf \
+ --with-system-kpathsea \
$(use_enable static-libs static) \
$(use_enable iconv kanji-iconv)
}