summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-11-13 18:14:20 +0100
committerKurt Zenker <kz@openoffice.org>2009-11-13 18:14:20 +0100
commitef0288de0a9995b5cce386d659a441617f525da5 (patch)
treed1c12cb8fc37996def07ab7d5d4c488de32a583a
parent2ab67fea8f0bdcd92153cebaffbdbc44b05de47d (diff)
parent645b2b6acf4dcc4a6863fe9d279391d2c3943efe (diff)
CWS-TOOLING: integrate CWS ause109
-rw-r--r--redland/redland/makefile.mk4
-rwxr-xr-xrhino/makefile.mk3
-rw-r--r--rhino/rhino1_5R5-find_swing.patch22
3 files changed, 26 insertions, 3 deletions
diff --git a/redland/redland/makefile.mk b/redland/redland/makefile.mk
index bb9fe2033ad2..927f9868b10d 100644
--- a/redland/redland/makefile.mk
+++ b/redland/redland/makefile.mk
@@ -107,8 +107,8 @@ CFLAGS=-m64
.ENDIF
# NB: SOLARDIR before SYSBASE, because linux SYSBASE contains obsolete libcrypto
-CPPFLAGS+:=-I$(SOLARINCDIR)$/external
-LDFLAGS+:=-L$(SOLARLIBDIR)
+CPPFLAGS+:=-I$(PWD)$/$(INCCOM) -I$(SOLARINCDIR)$/external
+LDFLAGS+:=-L$(PWD)$/$(LB) -L$(SOLARLIBDIR)
.IF "$(SYSBASE)"!=""
CPPFLAGS+:=-I$(SYSBASE)$/usr$/include
diff --git a/rhino/makefile.mk b/rhino/makefile.mk
index 24517b6dafd7..0809007ea7b4 100755
--- a/rhino/makefile.mk
+++ b/rhino/makefile.mk
@@ -48,7 +48,8 @@ TARFILE_ROOTDIR=rhino1_5R5
ADDITIONAL_FILES= \
toolsrc/org/mozilla/javascript/tools/debugger/OfficeScriptInfo.java
-PATCH_FILES=rhino1_5R5.patch
+PATCH_FILES=rhino1_5R5.patch \
+ rhino1_5R5-find_swing.patch
.IF "$(JAVACISGCJ)"=="yes"
JAVA_HOME=
diff --git a/rhino/rhino1_5R5-find_swing.patch b/rhino/rhino1_5R5-find_swing.patch
new file mode 100644
index 000000000000..e94974a41574
--- /dev/null
+++ b/rhino/rhino1_5R5-find_swing.patch
@@ -0,0 +1,22 @@
+--- misc/rhino1_5R5/toolsrc/build.xml 2009-10-29 18:29:46.605524507 +0100
++++ misc/build/rhino1_5R5/toolsrc/build.xml 2009-10-29 18:29:26.536908810 +0100
+@@ -12,6 +12,10 @@
+ <os family="unix"/>
+ </and>
+ </condition>
++ <property environment="solenv"/>
++ <condition property="swing_zip" value="${solenv.TARFILE_LOCATION}/swingExSrc.zip" else="../../../../../download/swingExSrc.zip">
++ <isset property="solenv.TARFILE_LOCATION" />
++ </condition>
+ <path id="macPath" location="${java.home}/../Classes/classes.jar"/>
+ <!-- rhino.jar from OpenJDK breaks build -->
+ <path id="nonMacPath">
+@@ -38,7 +42,7 @@
+ <!-- Download source from Sun's site, unzip it, remove
+ the files we don't need, and change the package
+ -->
+- <unzip src="../../../../../download/swingExSrc.zip" dest="${src.debugger}"/>
++ <unzip src="${swing_zip}" dest="${src.debugger}"/>
+ <delete file="${src.debugger}/FileSystemModel2.java" />
+ <delete file="${src.debugger}/MergeSort.java" />
+ <delete file="${src.debugger}/TreeTableExample2.java" />