summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.0/files/patch-product+settings+settings.mk
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2005-07-29 02:16:38 +0000
committerMaho Nakata <maho@FreeBSD.org>2005-07-29 02:16:38 +0000
commit41afb89d5813c208ce4ff24858ec394b38f78270 (patch)
treed071b674a9e458543684395cf883e739c8949794 /editors/openoffice-1.0/files/patch-product+settings+settings.mk
parentUpgrade to SGE 6.0 Update4. (diff)
Unbreak for 5-series
Notes
Notes: svn path=/head/; revision=140362
Diffstat (limited to 'editors/openoffice-1.0/files/patch-product+settings+settings.mk')
-rw-r--r--editors/openoffice-1.0/files/patch-product+settings+settings.mk18
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/openoffice-1.0/files/patch-product+settings+settings.mk b/editors/openoffice-1.0/files/patch-product+settings+settings.mk
index 3dae50f091a3..fe1093e1e772 100644
--- a/editors/openoffice-1.0/files/patch-product+settings+settings.mk
+++ b/editors/openoffice-1.0/files/patch-product+settings+settings.mk
@@ -1,14 +1,14 @@
---- ../product/settings/settings.mk.orig Sat Jan 18 18:23:17 2003
-+++ ../product/settings/settings.mk Sat Jan 18 18:37:12 2003
+--- product/settings/settings.mk.orig Sat Jan 18 18:23:17 2003
++++ product/settings/settings.mk Sat Jan 18 18:37:12 2003
@@ -225,3 +226,72 @@
endif
+ifeq "$(PLATFORM)" "FreeBSD"
-+# Settings for Linux using gcc compiler
++# Settings for FreeBSD using gcc compiler
+
-+OS=LINUX
-+PLATFORM=linux
++OS=FREEBSD
++PLATFORM=freebsd
+PS=/
+LINK=$(CC)
+LIB=$(CC)
@@ -19,7 +19,7 @@
+SHAREDLIB_EXT=so
+SHAREDLIB_PRE=lib
+SHAREDLIB_OUT=$(OUT_LIB)
-+PACKAGE_LIB_DIR=linux_x86.plt
++PACKAGE_LIB_DIR=freebsd_x86.plt
+
+GCC_VERSION=$(shell $(CC) -dumpversion)
+
@@ -57,10 +57,10 @@
+else
+CC_FLAGS=-c -O
+endif
-+SDK_JAVA_INCLUDES = -I$(OO_SDK_JAVA_HOME)/include -I$(OO_SDK_JAVA_HOME)/include/linux
++SDK_JAVA_INCLUDES = -I$(OO_SDK_JAVA_HOME)/include -I$(OO_SDK_JAVA_HOME)/include/freebsd -I$(OO_SDK_JAVA_HOME)/include/linux
+CC_INCLUDES=-I. -I/usr/include -I$(OUT)/inc/examples -I$(PRJ)/include
+STL_INCLUDES=-I$(OO_STLPORT_HOME)/stlport
-+CC_DEFINES=-DUNX -DGCC -DLINUX -DCPPU_ENV=$(CPPU_ENV)
++CC_DEFINES=-DUNX -DGCC -DFREEBSD -DCPPU_ENV=$(CPPU_ENV)
+
+# define for used compiler necessary for UNO
+#-DCPPU_ENV=gcc2 -- gcc 2.91/2.95
@@ -70,6 +70,6 @@
+
+LIBRARY_LINK_FLAGS=-shared
+EXE_LINK_FLAGS=-Wl -export-dynamic
-+LINK_LIBS=-L$(OUT)/lib -L$(PRJ)/$(PLATFORM)/lib -L$(OFFICE_PROGRAM_PATH)
++LINK_LIBS=-L$(OUT)/lib -L$(PRJ)/$(PLATFORM)/lib -L$(OFFICE_PROGRAM_PATH) -pthread
+
+endif