ports/150074: [patch] games/hex-a-hop: update to 1.1.0

Anonymous swell.k at gmail.com
Sun Aug 29 12:50:05 UTC 2010


The following reply was made to PR ports/150074; it has been noted by GNATS.

From: Anonymous <swell.k at gmail.com>
To: bug-followup at 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 ---



More information about the freebsd-ports-bugs mailing list