summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-11-03 13:42:16 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-11-03 13:43:00 +0000
commit9e4e010687f8b25d1f091f9a3a939f485994e0fa (patch)
treec5ca53bb83b4e28fcf09370d46fb722333813acb /dev-java
parentdev-python/pbr: Move pip dep to PDEPEND to break circular deps (diff)
downloadgentoo-9e4e010687f8b25d1f091f9a3a939f485994e0fa.tar.gz
gentoo-9e4e010687f8b25d1f091f9a3a939f485994e0fa.tar.bz2
gentoo-9e4e010687f8b25d1f091f9a3a939f485994e0fa.zip
dev-java/jdbc-postgresql: Set JAVA_ANT_ENCODING to UTF-8. Fixes bug 564786.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild b/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild
index 64c4e76023cf..359132c73524 100644
--- a/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild
+++ b/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild
@@ -39,6 +39,10 @@ RESTRICT="test" # Requires external postgresql server setup
S="${WORKDIR}/postgresql-jdbc-${MY_PV}.src"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+JAVA_ANT_ENCODING="UTF-8"
+EANT_DOC_TARGET="publicapi"
+
java_prepare() {
# Strip build.xml of maven deps
sed -i -e '/<classpath.*dependency\.compile\.classpath/c\' build.xml || die
@@ -62,9 +66,6 @@ java_prepare() {
java-pkg_clean
}
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-EANT_DOC_TARGET="publicapi"
-
src_compile() {
EANT_BUILD_TARGET="release-version jar"
java-pkg-2_src_compile