[Bug 199919] games/wxlauncher: fails to build with WX3=on JOYSTICK=off

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 4 23:20:03 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199919

--- Comment #5 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 156353
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156353
Proposed patch (since 385396 revision)

>diff -ruN wxlauncher.orig/Makefile wxlauncher/Makefile
>--- wxlauncher.orig/Makefile	2015-05-04 15:18:03.000000000 +0400
>+++ wxlauncher/Makefile	2015-05-05 01:08:32.000000000 +0400
>@@ -43,6 +43,10 @@
> WX3_USE=	WX=3.0+
> WX3_USE_OFF=	WX=2.8
> 
>+.if !defined(WITH_DEBUG)
>+CXXFLAGS=	-DNDEBUG

CFLAGS would be more correct but wxlauncher doesn't have any *.c files.

Also, convert to a proper option instead of relying on current (fragile)
implementation.

>+.endif
>+
> .include <bsd.port.options.mk>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list