summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorHanno Meyer-Thurow <h.mth@web.de>2011-03-13 16:15:04 +0100
committerHanno Meyer-Thurow <h.mth@web.de>2011-03-14 18:49:47 +0100
commitcbee598404d1a5664956dce204b72558fa11d77a (patch)
tree34b0b2f959f3ed9eff0289d204921486a44dec4e /scripting
parentcbbcd6e6922280a36688dccad8d1de9c53d15c5f (diff)
Merge Gentoo patches from old build and downstream repositories.
1. Do not add compiler default include and library path: potentially build against different version of system library than requested by the user. 2. Add a configure option to disable Python2 (PyUNO) bindings. Python3 is available for more than two years. Noone cares, therefore rest in peace. Python2 is going to be ditched at some point. Simply do not fail then. Windows builds need to be updated for BUILD_TYPE: "PYUNO". Or how is it handled nowadays? 3. Fix sandbox violation in officecfg module: rm /bin/<language>.zip 4. Add a configure option to search only in one place for JVMs, which is quite interesting for Linux Distributions. Enforce the user to place JVMs in one base directory. 5. Fix build for libxml-2.7.8 with ICU support. * config_office-XINC-XLIB-defaults.diff: (1) * disable-python.diff: (2) * gentoo-sandbox.diff: (3) * jvm-search-path.diff: (4) * libxmlsec_fix_extern_c.diff: (5)
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/pyprov/makefile.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripting/source/pyprov/makefile.mk b/scripting/source/pyprov/makefile.mk
index e9a065ad1e23..ca63729789e1 100644
--- a/scripting/source/pyprov/makefile.mk
+++ b/scripting/source/pyprov/makefile.mk
@@ -35,6 +35,7 @@ TARGET=pyprov
.INCLUDE : settings.mk
# --- Targets ------------------------------------------------------
+.IF "$(DISABLE_PYTHON)" != "TRUE"
ALL : ALLTAR \
$(DLLDEST)$/officehelper.py \
$(DLLDEST)$/mailmerge.py
@@ -59,3 +60,9 @@ COMPONENT_FILES=$(EXTENSIONDIR)$/pythonscript.py
.INCLUDE : target.mk
.ENDIF
+
+.ELSE
+
+.INCLUDE : target.mk
+
+.ENDIF