Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 207318 Details for
Bug 289119
dev-java/gjdoc-0.7.9-r1 doesn't build against antl-3.1.3-r2 or any antlr newer than 2.x
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New ebuild with ugly hack for antlr3.jar path
gjdoc-0.7.9-r2.ebuild (text/plain), 2.09 KB, created by
Rebecca Menessec
on 2009-10-16 15:35:14 UTC
(
hide
)
Description:
New ebuild with ugly hack for antlr3.jar path
Filename:
MIME Type:
Creator:
Rebecca Menessec
Created:
2009-10-16 15:35:14 UTC
Size:
2.09 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-java/gjdoc/gjdoc-0.7.9-r1.ebuild,v 1.5 2009/03/24 19:38:04 betelgeuse Exp $ > >EAPI=2 >JAVA_PKG_IUSE="source" > >inherit eutils autotools java-pkg-2 > >DESCRIPTION="A javadoc compatible Java source documentation generator." >HOMEPAGE="http://www.gnu.org/software/cp-tools/" >SRC_URI="mirror://gnu/classpath/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" > ># Possible USE flags. ># ># native: to --enable-native ># doc: to generate javadoc ># debug: There is a debug doclet installed by default but maybe could ># have a wrapper that uses it. ># >IUSE="xmldoclet" > >RDEPEND=">=virtual/jre-1.5 > >=dev-java/antlr-3.1.3-r2" > ># Refused to emerge with sun-jdk-1.3* complaining about wanting a bigger stack size >DEPEND="${RDEPEND} > >=virtual/jdk-1.5" > >src_prepare() { > epatch "${FILESDIR}/antlr-ver-fix.patch" > epatch "${FILESDIR}/${PN}-0.7.7-gcp.patch" > epatch "${FILESDIR}/0.7.9-main-execute.patch" > AT_M4DIR="m4" eautoreconf >} > >src_configure() { > # I think that configure will do --enable-native if it finds gcj > # so we'll disable it explicitly > #local myc="--with-antlr-jar=$(java-pkg_getjar antlr antlr3.jar) --disable-native" > local myc="--with-antlr-jar=/usr/share/antlr-3/lib/antlr3.jar --disable-native" > myc="${myc} --disable-dependency-tracking" > > # Does not work with gcc 3.* and without these it tries to use gij > # see bug #116804 for details > > # TODO ideally, would respect JAVACFLAGS > JAVA="java" JAVAC="javac $(java-pkg_javac-args)" \ > econf ${myc} \ > $(use_enable xmldoclet) || die "econf failed" >} > >src_compile() { > default # Don't use from java-pkg-2 >} > >src_install() { > local jars="com-sun-tools-doclets-Taglet gnu-classpath-tools-gjdoc com-sun-javadoc" > for jar in ${jars}; do > java-pkg_newjar ${jar}-${PV}.jar ${jar}.jar > done > > dobin "${FILESDIR}"/gjdoc > dodoc AUTHORS ChangeLog NEWS README || die > > cd "${S}"/docs > emake DESTDIR="${D}" install || die "Failed to install documentation" > > use source && java-pkg_dosrc "${S}/src"/{com,gnu} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 289119
: 207318 |
207319