diff options
author | mbr <mbr@FreeBSD.org> | 2002-07-31 22:57:55 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-07-31 22:57:55 +0000 |
commit | 36022a4d015b6e76fe64890091917dd060c0b3ee (patch) | |
tree | 8253528d2567a20bcdc140114c3997c8b93eb716 /editors/openoffice.org-2/files | |
parent | 15cc3364ff52ddde27454d672f650d7adac4e464 (diff) | |
download | FreeBSD-ports-36022a4d015b6e76fe64890091917dd060c0b3ee.zip FreeBSD-ports-36022a4d015b6e76fe64890091917dd060c0b3ee.tar.gz |
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.org-2/files')
-rw-r--r-- | editors/openoffice.org-2/files/patch-freetype+makefile.mk | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/editors/openoffice.org-2/files/patch-freetype+makefile.mk b/editors/openoffice.org-2/files/patch-freetype+makefile.mk index 1e5e5bf..9c238f4 100644 --- a/editors/openoffice.org-2/files/patch-freetype+makefile.mk +++ b/editors/openoffice.org-2/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 \ |