svn commit: r318544 - head/games/gnono
Koop Mast
kwm at FreeBSD.org
Sun May 19 18:12:27 UTC 2013
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 at FreeBSD.org>
-#
+# Created by: Andrew Pantyukhin <infofarmer at 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>
More information about the svn-ports-all
mailing list