summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-28 08:19:32 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-28 08:19:32 +0000
commit7cd64c8ebf2006ad6e0dd417c510d095abf483f1 (patch)
treedce71d79098f4ee238399b5f3d2d58fbe478e751 /dev-java/jaxme
parentSplit fixing build files to separate function, which can be used by ebuilds. ... (diff)
downloadgentoo-2-7cd64c8ebf2006ad6e0dd417c510d095abf483f1.tar.gz
gentoo-2-7cd64c8ebf2006ad6e0dd417c510d095abf483f1.tar.bz2
gentoo-2-7cd64c8ebf2006ad6e0dd417c510d095abf483f1.zip
Fixed rewriting of build files, see bug #141940.
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'dev-java/jaxme')
-rw-r--r--dev-java/jaxme/ChangeLog5
-rw-r--r--dev-java/jaxme/jaxme-0.3.1-r1.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/dev-java/jaxme/ChangeLog b/dev-java/jaxme/ChangeLog
index 26d0652ed1fa..4a6e7391a093 100644
--- a/dev-java/jaxme/ChangeLog
+++ b/dev-java/jaxme/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jaxme
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/ChangeLog,v 1.8 2006/07/27 20:26:58 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/ChangeLog,v 1.9 2006/07/28 08:19:32 nelchael Exp $
+
+ 28 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> jaxme-0.3.1-r1.ebuild:
+ Fixed rewriting of build files, see bug #141940.
*jaxme-0.3.1-r1 (27 Jul 2006)
diff --git a/dev-java/jaxme/jaxme-0.3.1-r1.ebuild b/dev-java/jaxme/jaxme-0.3.1-r1.ebuild
index cb87960756ee..394176d35171 100644
--- a/dev-java/jaxme/jaxme-0.3.1-r1.ebuild
+++ b/dev-java/jaxme/jaxme-0.3.1-r1.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/jaxme/jaxme-0.3.1-r1.ebuild,v 1.1 2006/07/27 20:26:58 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxme/jaxme-0.3.1-r1.ebuild,v 1.2 2006/07/28 08:19:32 nelchael Exp $
inherit java-pkg-2 java-ant-2 eutils
@@ -27,6 +27,9 @@ DEPEND=">=virtual/jdk-1.4
S="${WORKDIR}/${MY_P}"
+# We do it later
+JAVA_PKG_BSFIX="off"
+
src_unpack() {
unpack ${A}
@@ -42,6 +45,13 @@ src_unpack() {
java-pkg_jarfrom xerces-2
java-pkg_jarfrom xmldb xmldb-api.jar xmldb-api-20021118.jar
java-pkg_jarfrom xmldb xmldb-api-sdk.jar xmldb-api-sdk-20021118.jar
+
+ # Special case: jaxme uses build<foo>.xml files, so rewriting them by hand
+ # is better:
+ cd ${S}
+ for i in build*.xml src/webapp/build.xml src/test/jaxb/build.xml; do
+ java-ant_bsfix_one "${i}"
+ done
}
src_compile() {