diff options
author | Rene Engelhard <rene@debian.org> | 2011-10-16 12:19:25 +0000 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2011-10-16 16:52:58 +0200 |
commit | 8e970bc4e75caf40324f821123fdce36cb01918c (patch) | |
tree | ba50a6972d90ff4fe96c23b0837ef515ab263ed7 /swext/Jar_mediawiki.mk | |
parent | don't remove "bootstrap" in make distclean (diff) | |
download | core-8e970bc4e75caf40324f821123fdce36cb01918c.tar.gz core-8e970bc4e75caf40324f821123fdce36cb01918c.zip |
fix swext build with SYSTEM_APACHE_COMMONS==YES
Diffstat (limited to 'swext/Jar_mediawiki.mk')
-rw-r--r-- | swext/Jar_mediawiki.mk | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/swext/Jar_mediawiki.mk b/swext/Jar_mediawiki.mk index acafa8636587..2a1c7ef75fb0 100644 --- a/swext/Jar_mediawiki.mk +++ b/swext/Jar_mediawiki.mk @@ -33,12 +33,30 @@ $(eval $(call gb_Jar_set_packageroot,mediawiki,com)) $(eval $(call gb_Jar_set_manifest,mediawiki,$(SRCDIR)/swext/mediawiki/src/com/sun/star/wiki/MANIFEST.MF)) +ifeq ($(SYSTEM_APACHE_COMMONS),YES) +# FIXME: use gb_Jar_use_externals? +# for the build +$(eval $(call gb_Jar_add_jars,mediawiki,\ + $(COMMONS_CODEC_JAR) \ + $(COMMONS_LANG_JAR) \ + $(COMMONS_HTTPCLIENT_JAR) \ + $(COMMONS_LOGGING_JAR) \ +)) +# Class-Path: in MANIFEST.MF +$(eval $(call gb_Jar_set_jarclasspath,mediawiki,\ + $(COMMONS_CODEC_JAR) \ + $(COMMONS_LANG_JAR) \ + $(COMMONS_HTTPCLIENT_JAR) \ + $(COMMONS_LOGGING_JAR) \ +)) +else $(eval $(call gb_Jar_set_jarclasspath,mediawiki,\ commons-codec-1.3.jar \ commons-lang-2.3.jar \ commons-httpclient-3.1.jar \ commons-logging-1.1.1.jar \ )) +endif $(eval $(call gb_Jar_add_jars,mediawiki,\ $(OUTDIR)/bin/juh.jar \ |