summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Zongyu <zzy2529420793@gmail.com>2020-08-26 00:30:10 +0800
committerMiroslav Šulc <fordfrog@gentoo.org>2020-08-30 18:02:35 +0200
commita4d773b4c2f433438b00010bbf0981c81e123d1b (patch)
treef6790211a06ccf8175642c8ae14be4f8da53511f /dev-java/xsdlib
parentjava-pkg-simple.eclass and java-utils-2.eclass: features and enhancements (diff)
downloadgentoo-a4d773b4c2f433438b00010bbf0981c81e123d1b.tar.gz
gentoo-a4d773b4c2f433438b00010bbf0981c81e123d1b.tar.bz2
gentoo-a4d773b4c2f433438b00010bbf0981c81e123d1b.zip
patching ebuild files to support new java-pkg-simple
Signed-off-by: Zhang Zongyu <zzy2529420793@gmail.com> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/xsdlib')
-rw-r--r--dev-java/xsdlib/xsdlib-20090415.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-java/xsdlib/xsdlib-20090415.ebuild b/dev-java/xsdlib/xsdlib-20090415.ebuild
index c317785fc9fb..0cb2aba0120a 100644
--- a/dev-java/xsdlib/xsdlib-20090415.ebuild
+++ b/dev-java/xsdlib/xsdlib-20090415.ebuild
@@ -31,13 +31,13 @@ java_prepare() {
find -name '*.jar' -exec rm -v {} + || die
}
-JAVA_SRC_DIR="src src-apache"
+JAVA_SRC_DIR=( "src" "src-apache" )
JAVA_GENTOO_CLASSPATH="relaxng-datatype,xerces-2"
src_compile() {
java-pkg-simple_src_compile
- local dir; for dir in ${JAVA_SRC_DIR}; do
+ local dir; for dir in "${JAVA_SRC_DIR[@]}"; do
pushd ${dir} > /dev/null || die
jar -uf "${S}"/${PN}.jar $(find -name '*.properties') || die
popd > /dev/null