aboutsummaryrefslogtreecommitdiff
path: root/emulators/wine
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2003-10-20 22:54:23 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2003-10-20 22:54:23 +0000
commitec4c64324a05d96326a15306289baa763d08990b (patch)
treebcc82bba899acae30a725ff04eacd5875e9e35aa /emulators/wine
parentc05d3fc1233aa07bfe873b93fc9b3216ca7eee33 (diff)
downloadports-ec4c64324a05d96326a15306289baa763d08990b.tar.gz
ports-ec4c64324a05d96326a15306289baa763d08990b.zip
Notes
Diffstat (limited to 'emulators/wine')
-rw-r--r--emulators/wine/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 36fd389d552d..99c6bea648ed 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -36,20 +36,16 @@ USE_REINPLACE= yes
BROKEN= "Not supported on systems prior to FreeBSD 4.x"
.endif
-.if !defined(NDEBUG)
+.if defined(DEBUG)
STRIP=
-CFLAGS+= -g
.else
+CFLAGS= -O2
+
pre-extract:
- @${ECHO} "NDEBUG has been set, building without debug info..."
- @${ECHO} "This will save diskspace but it makes debugging harder."
- @${ECHO} "If for example wine crashes and you would like to send"
- @${ECHO} "the backtrace it then dumps to the developers (or"
- @${ECHO} "comp.emulators.ms-windows.wine) it will be much more useful"
- @${ECHO} "to them if you first rebuild without this and generate it again."
- @${ECHO} "(If you're _not_ low on diskspace there is not really a reason to"
- @${ECHO} "use this flag, the resulting wine won't use more VM or anything like"
- @${ECHO} "that when running, only when it has to enter the debugger...)"
+ @${ECHO} "DEBUG has not been set, building without debug info."
+ @${ECHO} "This makes the disk footprint and packages much smaller,"
+ @${ECHO} "but debugging harder. If Wine crashes and you need to"
+ @${ECHO} "generate a backtrace, please rebuild with DEBUG defined."
.endif
post-extract: