aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-08-01 06:57:55 +0800
committermbr <mbr@FreeBSD.org>2002-08-01 06:57:55 +0800
commit36022a4d015b6e76fe64890091917dd060c0b3ee (patch)
tree8253528d2567a20bcdc140114c3997c8b93eb716 /editors/openoffice
parent15cc3364ff52ddde27454d672f650d7adac4e464 (diff)
downloadfreebsd-ports-gnome-36022a4d015b6e76fe64890091917dd060c0b3ee.tar.gz
freebsd-ports-gnome-36022a4d015b6e76fe64890091917dd060c0b3ee.tar.zst
freebsd-ports-gnome-36022a4d015b6e76fe64890091917dd060c0b3ee.zip
Only use -g if $debug is true. I'll suggest this also to the
OO.org people. It would make sence to have a additional GMAKECFLAGS in solvenv, which could contain a basic CFLAGS configuration. We cannot use $CFLAGS cause there are dmake specific things in it.
Diffstat (limited to 'editors/openoffice')
-rw-r--r--editors/openoffice/files/patch-freetype+makefile.mk19
-rw-r--r--editors/openoffice/files/patch-freetype::makefile.mk19
2 files changed, 32 insertions, 6 deletions
diff --git a/editors/openoffice/files/patch-freetype+makefile.mk b/editors/openoffice/files/patch-freetype+makefile.mk
index 1e5e5bf12c6b..9c238f45b04d 100644
--- a/editors/openoffice/files/patch-freetype+makefile.mk
+++ b/editors/openoffice/files/patch-freetype+makefile.mk
@@ -1,6 +1,19 @@
---- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
-+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
-@@ -90,7 +90,7 @@
+--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
++++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
+@@ -79,7 +79,11 @@
+ #relative to CONFIGURE_DIR
+ CONFIGURE_ACTION=$(GNUMAKE)
+ .IF "$(GUI)"=="UNX"
+-CONFIGURE_FLAGS=setup
++.IF "$(debug)"==""
++CONFIGURE_FLAGS=setup CFLAGS="-O"
++.ELSE # "$(debug)"==""
++CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
++.ENDIF # "$(debug)"==""
+ .ELSE # "$(GUI)"=="UNX"
+ CONFIGURE_FLAGS=setup visualc
+ .ENDIF # "$(GUI)"=="UNX"
+@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \
diff --git a/editors/openoffice/files/patch-freetype::makefile.mk b/editors/openoffice/files/patch-freetype::makefile.mk
index 1e5e5bf12c6b..9c238f45b04d 100644
--- a/editors/openoffice/files/patch-freetype::makefile.mk
+++ b/editors/openoffice/files/patch-freetype::makefile.mk
@@ -1,6 +1,19 @@
---- ../freetype/makefile.mk.orig Tue Mar 5 15:43:54 2002
-+++ ../freetype/makefile.mk Tue Mar 5 15:43:56 2002
-@@ -90,7 +90,7 @@
+--- ../freetype/makefile.mk.orig Tue Feb 26 12:21:37 2002
++++ ../freetype/makefile.mk Thu Aug 1 00:51:46 2002
+@@ -79,7 +79,11 @@
+ #relative to CONFIGURE_DIR
+ CONFIGURE_ACTION=$(GNUMAKE)
+ .IF "$(GUI)"=="UNX"
+-CONFIGURE_FLAGS=setup
++.IF "$(debug)"==""
++CONFIGURE_FLAGS=setup CFLAGS="-O"
++.ELSE # "$(debug)"==""
++CONFIGURE_FLAGS=setup CFLAGS="-O -g -ggdb"
++.ENDIF # "$(debug)"==""
+ .ELSE # "$(GUI)"=="UNX"
+ CONFIGURE_FLAGS=setup visualc
+ .ENDIF # "$(GUI)"=="UNX"
+@@ -90,7 +94,7 @@
.IF "$(GUI)"=="UNX"
OUT2LIB= \
objs$/.libs$/libfreetype.a \