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>
This commit is contained in:
Patrice Clement
2015-11-03 13:42:16 +00:00
parent 6b8dba8ade
commit 9e4e010687

View File

@@ -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