Date: Sun, 29 Aug 2010 12:50:04 GMT From: Anonymous <swell.k@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/150074: [patch] games/hex-a-hop: update to 1.1.0 Message-ID: <201008291250.o7TCo4m8004580@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/150074; it has been noted by GNATS. From: Anonymous <swell.k@gmail.com> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/150074: [patch] games/hex-a-hop: update to 1.1.0 Date: Sun, 29 Aug 2010 16:43:36 +0400 Oops, `-g' in CXXFLAGS overrides any -g[0-3] or -ggdb[0-3] in DEBUG_FLAGS. I'm adding --disable-debug by default. NDEBUG ifdef is currently unused, though. --- b.diff begins here --- diff --git games/hex-a-hop/Makefile games/hex-a-hop/Makefile index be21e7f..b3da6aa 100644 --- games/hex-a-hop/Makefile +++ games/hex-a-hop/Makefile @@ -30,6 +30,10 @@ DESKTOP_ENTRIES="Hex-a-Hop" "A puzzle game based on hexagonal tiles" \ .include <bsd.port.pre.mk> +.if !defined(WITH_DEBUG) +CONFIGURE_ARGS+=--disable-debug +.endif + .if !defined(WITHOUT_NLS) USE_GETTEXT= yes CONFIGURE_ENV+= ac_cv_header_libintl_h=yes @@ -51,4 +55,7 @@ USE_SDL+= mixer CONFIGURE_ARGS+=--disable-sound .endif +post-patch: .SILENT + ${REINPLACE_CMD} -E '/CFLAGS|CXXFLAGS/s/-g//' ${WRKSRC}/configure + .include <bsd.port.post.mk> --- b.diff ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008291250.o7TCo4m8004580>