diff options
author | Vlastimil Babka <caster@gentoo.org> | 2006-12-08 01:44:25 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2006-12-08 01:44:25 +0000 |
commit | c03d6cd4c7dd42175ea3eb0e1ff8a90f4abb7670 (patch) | |
tree | 6dee000b7983c501fde47bd1654412a65eeb9126 /dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild | |
parent | Add ~x86-fbsd keyword as per bug #156587, thanks to Mark Kowarsky. (diff) | |
download | gentoo-2-c03d6cd4c7dd42175ea3eb0e1ff8a90f4abb7670.tar.gz gentoo-2-c03d6cd4c7dd42175ea3eb0e1ff8a90f4abb7670.tar.bz2 gentoo-2-c03d6cd4c7dd42175ea3eb0e1ff8a90f4abb7670.zip |
Fix building on fbsd thanks to Diego Pettenò <flameeyes@gentoo.org>, bugs #157390 and #157387.
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild')
-rw-r--r-- | dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild b/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild index 42e4c5b96ec2..b8faca6b61e4 100644 --- a/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild +++ b/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild,v 1.3 2006/10/05 18:04:17 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/libreadline-java/libreadline-java-0.8.0-r2.ebuild,v 1.4 2006/12/08 01:44:25 caster Exp $ inherit java-pkg-2 eutils @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/java-readline/${P}-src.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" -IUSE="doc source" +IUSE="doc source elibc_FreeBSD" COMMON_DEP="sys-libs/ncurses" RDEPEND=">=virtual/jre-1.4 @@ -25,8 +25,14 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/termcap-to-ncurses.patch + # bug #157387, reported upstream + epatch "${FILESDIR}/${P}-gmake.patch" + # bug #157390 sed -i "s/^\(JC_FLAGS =\)/\1 $(java-pkg_javac-args)/" Makefile || die + if use elibc_FreeBSD; then + sed -i -e '/JAVANATINC/s:linux:freebsd:' Makefile || die "sed JAVANATINC failed" + fi } src_compile() { |