Kaydet (Commit) 7d2f7c6d authored tarafından Michael Stahl's avatar Michael Stahl

normalize values of SYSTEM_APACHE_COMMONS, SYSTEM_BSH

Change-Id: Ia6adb8ae07ec80e83bc67084dfbd0bc6136ed8b7
üst 32db4993
...@@ -2926,7 +2926,7 @@ endef ...@@ -2926,7 +2926,7 @@ endef
endif # SYSTEM_HSQLDB endif # SYSTEM_HSQLDB
ifeq ($(SYSTEM_BSH),YES) ifneq ($(SYSTEM_BSH),)
define gb_Jar__use_bsh define gb_Jar__use_bsh
$(call gb_Jar_use_system_jar,$(1),$(BSH_JAR)) $(call gb_Jar_use_system_jar,$(1),$(BSH_JAR))
...@@ -2963,7 +2963,7 @@ endef ...@@ -2963,7 +2963,7 @@ endef
endif # SYSTEM_RHINO endif # SYSTEM_RHINO
ifeq ($(SYSTEM_APACHE_COMMONS),YES) ifneq ($(SYSTEM_APACHE_COMMONS),)
define gb_Jar__use_commons-codec define gb_Jar__use_commons-codec
$(call gb_Jar_use_system_jar,$(1),$(COMMONS_CODEC_JAR)) $(call gb_Jar_use_system_jar,$(1),$(COMMONS_CODEC_JAR))
......
...@@ -10756,7 +10756,7 @@ AC_SUBST(LIBSERIALIZER_JAR) ...@@ -10756,7 +10756,7 @@ AC_SUBST(LIBSERIALIZER_JAR)
if test "$ENABLE_MEDIAWIKI" = "TRUE" -o "$ENABLE_REPORTBUILDER" = "TRUE"; then if test "$ENABLE_MEDIAWIKI" = "TRUE" -o "$ENABLE_REPORTBUILDER" = "TRUE"; then
AC_MSG_CHECKING([which Apache commons-* libs to use]) AC_MSG_CHECKING([which Apache commons-* libs to use])
if test "$with_system_apache_commons" = "yes"; then if test "$with_system_apache_commons" = "yes"; then
SYSTEM_APACHE_COMMONS=YES SYSTEM_APACHE_COMMONS=TRUE
AC_MSG_RESULT([external]) AC_MSG_RESULT([external])
if test "$ENABLE_MEDIAWIKI" = "TRUE"; then if test "$ENABLE_MEDIAWIKI" = "TRUE"; then
if test -z $COMMONS_CODEC_JAR; then if test -z $COMMONS_CODEC_JAR; then
...@@ -10822,7 +10822,7 @@ if test "$ENABLE_MEDIAWIKI" = "TRUE" -o "$ENABLE_REPORTBUILDER" = "TRUE"; then ...@@ -10822,7 +10822,7 @@ if test "$ENABLE_MEDIAWIKI" = "TRUE" -o "$ENABLE_REPORTBUILDER" = "TRUE"; then
fi fi
else else
AC_MSG_RESULT([internal]) AC_MSG_RESULT([internal])
SYSTEM_APACHE_COMMONS=NO SYSTEM_APACHE_COMMONS=
BUILD_TYPE="$BUILD_TYPE APACHE_COMMONS TOMCAT" BUILD_TYPE="$BUILD_TYPE APACHE_COMMONS TOMCAT"
fi fi
fi fi
...@@ -10844,7 +10844,7 @@ if test "${enable_scripting_beanshell}" != "no" -a "x$with_java" != "xno"; then ...@@ -10844,7 +10844,7 @@ if test "${enable_scripting_beanshell}" != "no" -a "x$with_java" != "xno"; then
AC_MSG_CHECKING([which beanshell to use]) AC_MSG_CHECKING([which beanshell to use])
if test "$with_system_beanshell" = "yes"; then if test "$with_system_beanshell" = "yes"; then
AC_MSG_RESULT([external]) AC_MSG_RESULT([external])
SYSTEM_BSH=YES SYSTEM_BSH=TRUE
if test -z $BSH_JAR; then if test -z $BSH_JAR; then
BSH_JAR=/usr/share/java/bsh.jar BSH_JAR=/usr/share/java/bsh.jar
fi fi
...@@ -10852,7 +10852,7 @@ if test "${enable_scripting_beanshell}" != "no" -a "x$with_java" != "xno"; then ...@@ -10852,7 +10852,7 @@ if test "${enable_scripting_beanshell}" != "no" -a "x$with_java" != "xno"; then
[AC_MSG_ERROR(bsh.jar not found.)], []) [AC_MSG_ERROR(bsh.jar not found.)], [])
else else
AC_MSG_RESULT([internal]) AC_MSG_RESULT([internal])
SYSTEM_BSH=NO SYSTEM_BSH=
BUILD_TYPE="$BUILD_TYPE BSH" BUILD_TYPE="$BUILD_TYPE BSH"
fi fi
else else
......
...@@ -23,7 +23,7 @@ $(call gb_ExternalProject_get_state_target,jfreereport_flow_engine,build) : ...@@ -23,7 +23,7 @@ $(call gb_ExternalProject_get_state_target,jfreereport_flow_engine,build) :
-q \ -q \
-f build.xml \ -f build.xml \
-Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \ -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
$(if $(filter YES,$(SYSTEM_APACHE_COMMONS)),\ $(if $(SYSTEM_APACHE_COMMONS),\
-Dcommons-logging.jar=$(COMMONS_LOGGING_JAR), \ -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR), \
-Dcommons-logging.jar="$(call gb_UnpackedTarball_get_dir,apache_commons_logging)/target/commons-logging-1.1.1-SNAPSHOT.jar") \ -Dcommons-logging.jar="$(call gb_UnpackedTarball_get_dir,apache_commons_logging)/target/commons-logging-1.1.1-SNAPSHOT.jar") \
-Dlibbase.jar=$(call gb_UnpackedTarball_get_dir,jfreereport_libbase)/dist/libbase-$(LIBBASE_VERSION).jar \ -Dlibbase.jar=$(call gb_UnpackedTarball_get_dir,jfreereport_libbase)/dist/libbase-$(LIBBASE_VERSION).jar \
......
...@@ -35,7 +35,7 @@ $(call gb_ExternalProject_get_state_target,jfreereport_liblayout,build) : ...@@ -35,7 +35,7 @@ $(call gb_ExternalProject_get_state_target,jfreereport_liblayout,build) :
-q \ -q \
-f build.xml \ -f build.xml \
-Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \ -Dbuild.label="build-$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)" \
$(if $(filter YES,$(SYSTEM_APACHE_COMMONS)),\ $(if $(SYSTEM_APACHE_COMMONS),\
-Dcommons-logging.jar=$(COMMONS_LOGGING_JAR), \ -Dcommons-logging.jar=$(COMMONS_LOGGING_JAR), \
-Dcommons-logging.jar="$(call gb_UnpackedTarball_get_dir,apache_commons_logging)/target/commons-logging-1.1.1-SNAPSHOT.jar") \ -Dcommons-logging.jar="$(call gb_UnpackedTarball_get_dir,apache_commons_logging)/target/commons-logging-1.1.1-SNAPSHOT.jar") \
-Dflute.jar=$(call gb_UnpackedTarball_get_dir,jfreereport_flute)/dist/flute-$(FLUTE_VERSION).jar \ -Dflute.jar=$(call gb_UnpackedTarball_get_dir,jfreereport_flute)/dist/flute-$(FLUTE_VERSION).jar \
......
...@@ -15,7 +15,7 @@ $(eval $(call gb_InstallModule_define_if_set,scp2/extensions,\ ...@@ -15,7 +15,7 @@ $(eval $(call gb_InstallModule_define_if_set,scp2/extensions,\
)) ))
$(eval $(call gb_InstallModule_add_defs,scp2/extensions,\ $(eval $(call gb_InstallModule_add_defs,scp2/extensions,\
$(if $(filter YES,$(SYSTEM_BSH)),\ $(if $(SYSTEM_BSH),\
-DBSH_JAR=\""$(call gb_Helper_make_url,$(BSH_JAR))"\" \ -DBSH_JAR=\""$(call gb_Helper_make_url,$(BSH_JAR))"\" \
) \ ) \
$(if $(filter YES,$(SYSTEM_RHINO)),\ $(if $(filter YES,$(SYSTEM_RHINO)),\
......
...@@ -16,7 +16,7 @@ $(eval $(call gb_Extension_use_unpacked,wiki-publisher,xsltml)) ...@@ -16,7 +16,7 @@ $(eval $(call gb_Extension_use_unpacked,wiki-publisher,xsltml))
$(eval $(call gb_Extension_use_default_description,wiki-publisher,swext/mediawiki/src/description-en-US.txt)) $(eval $(call gb_Extension_use_default_description,wiki-publisher,swext/mediawiki/src/description-en-US.txt))
$(eval $(call gb_Extension_use_default_license,wiki-publisher)) $(eval $(call gb_Extension_use_default_license,wiki-publisher))
ifneq ($(SYSTEM_APACHE_COMMONS),YES) ifeq ($(SYSTEM_APACHE_COMMONS),)
$(eval $(call gb_Extension_use_external_project,wiki-publisher,apache_commons_logging)) $(eval $(call gb_Extension_use_external_project,wiki-publisher,apache_commons_logging))
$(eval $(call gb_Extension_use_external_project,wiki-publisher,apache_commons_codec)) $(eval $(call gb_Extension_use_external_project,wiki-publisher,apache_commons_codec))
$(eval $(call gb_Extension_use_external_project,wiki-publisher,apache_commons_httpclient)) $(eval $(call gb_Extension_use_external_project,wiki-publisher,apache_commons_httpclient))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment