aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-2
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-07-22 06:48:50 +0800
committermbr <mbr@FreeBSD.org>2002-07-22 06:48:50 +0800
commit445c73e2ddd5d174263a0de28b9e567378fbfc61 (patch)
treedcc3b4a1290cdb87bd932262e4f65ad3d12a8a6a /editors/openoffice.org-2
parent682f1d92ec738bccffb95993207f8679cdcfabdb (diff)
downloadfreebsd-ports-gnome-445c73e2ddd5d174263a0de28b9e567378fbfc61.tar.gz
freebsd-ports-gnome-445c73e2ddd5d174263a0de28b9e567378fbfc61.tar.zst
freebsd-ports-gnome-445c73e2ddd5d174263a0de28b9e567378fbfc61.zip
Make WITH_DEBUG tunable. WITH_DEBUG=1 just adds debugs symbols.
WITH_DEBUG=2 turns on internal OO.org debug support. Unfortunatly it is broken at the moment.
Diffstat (limited to 'editors/openoffice.org-2')
-rw-r--r--editors/openoffice.org-2/files/debugpatch-solenv+inc+unxfbsdi.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/openoffice.org-2/files/debugpatch-solenv+inc+unxfbsdi.mk b/editors/openoffice.org-2/files/debugpatch-solenv+inc+unxfbsdi.mk
new file mode 100644
index 000000000000..52bd2b3d58d6
--- /dev/null
+++ b/editors/openoffice.org-2/files/debugpatch-solenv+inc+unxfbsdi.mk
@@ -0,0 +1,18 @@
+--- ../solenv/inc/unxfbsdi.mk.orig Mon Jul 22 00:40:56 2002
++++ ../solenv/inc/unxfbsdi.mk Mon Jul 22 00:42:02 2002
+@@ -25,12 +25,12 @@
+ .ENDIF
+
+ # flags for C and C++ Compiler
+-CFLAGS+=-w -c $(INCLUDE) -I$(SOLARENV)/unxfbsdi/usr/include
++CFLAGS+=-g -ggdb -w -c $(INCLUDE) -I$(SOLARENV)/unxfbsdi/usr/include
+ CFLAGS+=-I/usr/X11R6/include
+
+ # flags for the C++ Compiler
+-CFLAGSCC=-pipe
+-CFLAGSCXX=-pipe -fno-for-scope -fpermissive
++CFLAGSCC=-g -ggdb -pipe
++CFLAGSCXX=-g -ggdb -pipe -fno-for-scope -fpermissive
+
+ # Flags for enabling exception handling
+ CFLAGSEXCEPTIONS=-fexceptions