Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 2015 23:20:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199919] games/wxlauncher: fails to build with WX3=on JOYSTICK=off
Message-ID:  <bug-199919-13-HvIDF3BR6m@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199919-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199919-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199919

--- Comment #5 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 156353
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D156353
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=3D	WX=3D3.0+
> WX3_USE_OFF=3D	WX=3D2.8
>=20
>+.if !defined(WITH_DEBUG)
>+CXXFLAGS=3D	-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>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199919-13-HvIDF3BR6m>