summaryrefslogtreecommitdiff
path: root/misc/openoffice/patches/patch-ca
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openoffice/patches/patch-ca')
-rw-r--r--misc/openoffice/patches/patch-ca150
1 files changed, 150 insertions, 0 deletions
diff --git a/misc/openoffice/patches/patch-ca b/misc/openoffice/patches/patch-ca
new file mode 100644
index 00000000000..2431090f595
--- /dev/null
+++ b/misc/openoffice/patches/patch-ca
@@ -0,0 +1,150 @@
+$NetBSD: patch-ca,v 1.1.1.1 2002/02/13 18:09:22 mrauch Exp $
+
+--- ../solenv/inc/unxbsdppc.mk.orig Sun Jan 6 11:30:53 2002
++++ ../solenv/inc/unxbsdppc.mk
+@@ -0,0 +1,145 @@
++
++# mk file for unxbsdppc
++ASM=gcc
++AFLAGS= -x assembler-with-cpp -c $(CDEFS)
++
++SOLAR_JAVA=TRUE
++JAVAFLAGSDEBUG=-g
++
++# filter for supressing verbose messages from linker
++#not needed at the moment
++#LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
++
++# _PTHREADS is needed for the stl
++CDEFS+=-D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DPPC -DPOWERPC
++
++# this is a platform with JAVA support
++.IF "$(SOLAR_JAVA)"!=""
++JAVADEF=-DSOLAR_JAVA
++.IF "$(debug)"==""
++JAVA_RUNTIME=-ljava
++.ELSE
++JAVA_RUNTIME=-ljava_g
++.ENDIF
++.ENDIF
++
++# name of C++ Compiler
++CC=g++
++# name of C Compiler
++cc=gcc
++# flags for C and C++ Compiler
++CFLAGS=-w -c $(INCLUDE) -I$(SOLARENV)/unxbsdppc/usr/include
++# flags for the C++ Compiler
++CFLAGSCC= -pipe
++
++# Flags for enabling exception handling
++CFLAGSEXCEPTIONS=-fexceptions
++# Flags for disabling exception handling
++CFLAGS_NO_EXCEPTIONS=-fno-exceptions
++
++# -fpermissive should be removed as soon as possible
++CFLAGSCXX= -pipe -fno-for-scope -fpermissive
++
++# Compiler flags for compiling static object in single threaded environment with graphical user interface
++CFLAGSOBJGUIST= -fPIC
++# Compiler flags for compiling static object in single threaded environment with character user interface
++CFLAGSOBJCUIST= -fPIC
++# Compiler flags for compiling static object in multi threaded environment with graphical user interface
++CFLAGSOBJGUIMT= -fPIC
++# Compiler flags for compiling static object in multi threaded environment with character user interface
++CFLAGSOBJCUIMT= -fPIC
++# Compiler flags for compiling shared object in multi threaded environment with graphical user interface
++CFLAGSSLOGUIMT= -fPIC
++# Compiler flags for compiling shared object in multi threaded environment with character user interface
++CFLAGSSLOCUIMT= -fPIC
++# Compiler flags for profiling
++CFLAGSPROF=
++# Compiler flags for debugging
++CFLAGSDEBUG=-g
++CFLAGSDBGUTIL=
++# Compiler flags for enabling optimazations
++CFLAGSOPT=-O2
++# Compiler flags for disabling optimazations
++CFLAGSNOOPT=-O
++# Compiler flags for discibing the output path
++CFLAGSOUTOBJ=-o
++
++# switches for dynamic and static linking
++STATIC = -Wl,-Bstatic
++DYNAMIC = -Wl,-Bdynamic
++
++# name of linker
++LINK=gcc
++# default linker flags
++LINKFLAGS=
++
++# linker flags for linking applications
++LINKFLAGSAPPGUI= -Wl,-export-dynamic
++LINKFLAGSAPPCUI= -Wl,-export-dynamic
++# linker flags for linking shared libraries
++LINKFLAGSSHLGUI= -Wl,-export-dynamic -shared
++LINKFLAGSSHLCUI= -Wl,-export-dynamic -shared
++
++LINKFLAGSTACK=
++LINKFLAGSPROF=
++LINKFLAGSDEBUG=-g
++LINKFLAGSOPT=
++
++.IF "$(NO_BSYMBOLIC)"==""
++.IF "$(PRJNAME)" != "envtest"
++LINKFLAGSSHLGUI+=-Wl,-Bsymbolic
++LINKFLAGSSHLCUI+=-Wl,-Bsymbolic
++.ENDIF
++.ENDIF # "$(NO_BSYMBOLIC)"==""
++
++LINKVERSIONMAPFLAG=-Wl,--version-script
++
++SONAME_SWITCH=-Wl,-h
++
++# Sequence of libs does matter !
++
++STDLIBCPP=-lstdc++
++
++# default objectfilenames to link
++STDOBJGUI=
++STDSLOGUI=
++STDOBJCUI=
++STDSLOCUI=
++
++# libraries for linking applications
++STDLIBCUIST=-lm
++STDLIBGUIMT=-lXaw -lXt -lX11 -lpthread -lm
++STDLIBCUIMT=-lpthread -lm
++STDLIBGUIST=-lXaw -lXt -lX11 -lm
++# libraries for linking shared libraries
++STDSHLGUIMT=-lXaw -lXt -lX11 -lXext -lpthread -lm
++STDSHLCUIMT=-lpthread -lm
++
++# STLport always needs pthread. This may yield some redundant -lpthread
++# but that doesn't matter.
++LIBSTLPORT=$(DYNAMIC) -lstlport_gcc -lpthread
++LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC) -lpthread
++
++
++# name of library manager
++LIBMGR=ar
++LIBFLAGS=-r
++
++# tool for generating import libraries
++IMPLIB=
++IMPLIBFLAGS=
++
++MAPSYM=
++MAPSYMFLAGS=
++
++RC=irc
++RCFLAGS=-fo$@ $(RCFILES)
++RCLINK=
++RCLINKFLAGS=
++RCSETVERSION=
++
++# platform specific identifier for shared libs
++DLLPOSTFIX=bp
++DLLPRE=lib
++DLLPOST=.so
++