Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2013 18:12:27 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r318544 - head/games/gnono
Message-ID:  <201305191812.r4JICRc4078182@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Sun May 19 18:12:27 2013
New Revision: 318544
URL: http://svnweb.freebsd.org/changeset/ports/318544

Log:
  Fix build with glib 2.34.
  
  Submitted by:	xorg exp-run via miwi

Modified:
  head/games/gnono/Makefile

Modified: head/games/gnono/Makefile
==============================================================================
--- head/games/gnono/Makefile	Sun May 19 18:02:52 2013	(r318543)
+++ head/games/gnono/Makefile	Sun May 19 18:12:27 2013	(r318544)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	gnono
-# Date created:		18 February 2007
-# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	gnono
 PORTVERSION=	1.9.1
@@ -26,6 +22,18 @@ MAN6=	${PORTNAME}.6
 
 post-patch:
 	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
-	    	's|-DG.*_DISABLE_DEPRECATED||g'
+	    	's|-DG.*_DISABLE_DEPRECATED||g' -e 's|-Werror||g'
+	@${REINPLACE_CMD} -e 's|glib/garray.h|glib.h|g' \
+		-e 's|glib/gmessages.h|glib.h|g' \
+		-e 's|glib/gtypes.h|glib.h|g' \
+		-e 's|glib/gmem.h|glib.h|g' \
+		-e 's|glib/gmain.h|glib.h|g' \
+		${WRKSRC}/src/ai.[ch] \
+		${WRKSRC}/src/cards.[ch] \
+		${WRKSRC}/src/game.[ch] \
+		${WRKSRC}/src/interface.[ch] \
+		${WRKSRC}/src/main.c \
+		${WRKSRC}/src/players.[ch] \
+		${WRKSRC}/src/preferences.[ch]
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305191812.r4JICRc4078182>