aboutsummaryrefslogtreecommitdiff
path: root/games/gnono
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-05-19 18:12:27 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-05-19 18:12:27 +0000
commit24109599625035c189df7ce7a65594dd6e83fcc3 (patch)
tree7ce5d8d91b668396f80a34708792b58cc8262341 /games/gnono
parent8ee54db4218306ed0c0cff264b055ec093793445 (diff)
downloadports-24109599625035c189df7ce7a65594dd6e83fcc3.tar.gz
ports-24109599625035c189df7ce7a65594dd6e83fcc3.zip
Notes
Diffstat (limited to 'games/gnono')
-rw-r--r--games/gnono/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/games/gnono/Makefile b/games/gnono/Makefile
index 019693e4ea1e..10c49679506a 100644
--- a/games/gnono/Makefile
+++ b/games/gnono/Makefile
@@ -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>