[subversion] enable javahl correctly

jorton jorton at fedoraproject.org
Wed Jul 20 10:08:40 UTC 2011


commit 4ea09c491c1abc1f4769fb22e570204947e4e027
Author: Joe Orton <jorton at redhat.com>
Date:   Wed Jul 20 11:08:21 2011 +0100

    enable javahl correctly

 subversion.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/subversion.spec b/subversion.spec
index 21a1e6c..02b45b0 100644
--- a/subversion.spec
+++ b/subversion.spec
@@ -223,7 +223,10 @@ export CC=gcc CXX=g++ JAVA_HOME=%{jdk_path} CFLAGS="$RPM_OPT_FLAGS"
         --disable-static --with-sasl=%{_prefix} \
         --disable-neon-version-check \
         --with-gnome-keyring \
+%if %{with_java}
+        --enable-javahl \
         --with-junit=%{_prefix}/share/java/junit.jar \
+%endif
         --with-kwallet \
         --with-berkeley-db || (cat config.log; exit 1)
 make %{?_smp_mflags} all


More information about the scm-commits mailing list