From 4ea09c491c1abc1f4769fb22e570204947e4e027 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Wed, 20 Jul 2011 11:08:21 +0100 Subject: [PATCH] enable javahl correctly --- subversion.spec | 3 +++ 1 file changed, 3 insertions(+) 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