diff options
author | James McCoy <jamessan@debian.org> | 2019-11-26 16:07:37 -0500 |
---|---|---|
committer | James McCoy <jamessan@debian.org> | 2019-11-26 16:07:37 -0500 |
commit | dbd4ba63ec78e00213fbbc8660708db5d5098f3d (patch) | |
tree | 368581cafb80262b662ad1248db29ffe206f30ac | |
parent | d388d15599e544b9ed6ff589282d498493e79b08 (diff) |
Add a pkg.subversion.nojava build profile
Signed-off-by: James McCoy <jamessan@debian.org>
-rw-r--r-- | debian/control | 5 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/debian/control b/debian/control index efda4de..b776d0b 100644 --- a/debian/control +++ b/debian/control @@ -6,11 +6,11 @@ Build-Depends: autoconf, bash-completion, chrpath, debhelper (>= 11~), - default-jdk-headless (>= 2:1.8) [!hurd-i386 !hppa !sparc], + default-jdk-headless (>= 2:1.8) [!hurd-i386 !hppa !sparc] <!pkg.subversion.nojava>, dh-apache2, dh-python, doxygen, - junit4 [!hurd-i386 !hppa !sparc], + junit4 [!hurd-i386 !hppa !sparc] <!pkg.subversion.nojava>, libapr1-dev, libaprutil1-dev, libdb5.3-dev, @@ -151,6 +151,7 @@ Description: Assorted tools related to Apache Subversion Package: libsvn-java Section: java Architecture: any +Build-Profiles: <!pkg.subversion.nojava> Depends: libsvn1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Java bindings for Apache Subversion This is a set of Java classes which provide the functionality of diff --git a/debian/rules b/debian/rules index a7ba5ca..d096bff 100755 --- a/debian/rules +++ b/debian/rules @@ -31,6 +31,10 @@ ifneq (,$(filter $(DEB_HOST_ARCH), $(DISABLE_JAVAHL_ARCHS))) ENABLE_JAVAHL = endif +ifeq (,$(filter libsvn-java,$(shell dh_listpackages))) + ENABLE_JAVAHL = +endif + # We may need to disable libapache2-mod-svn and/or libsvn-ruby*. ENABLE_APACHE = yes ENABLE_RUBY = yes |