diff options
author | kwm <kwm@FreeBSD.org> | 2013-05-20 02:12:27 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2013-05-20 02:12:27 +0800 |
commit | aa648852c0c7e13743fb2010ad1dcb854650680e (patch) | |
tree | 7ce5d8d91b668396f80a34708792b58cc8262341 /games | |
parent | 0a7d90e6947541b9f74bb4ad42c1561a2fa3bed8 (diff) | |
download | freebsd-ports-gnome-aa648852c0c7e13743fb2010ad1dcb854650680e.tar.gz freebsd-ports-gnome-aa648852c0c7e13743fb2010ad1dcb854650680e.tar.zst freebsd-ports-gnome-aa648852c0c7e13743fb2010ad1dcb854650680e.zip |
Fix build with glib 2.34.
Submitted by: xorg exp-run via miwi
Diffstat (limited to 'games')
-rw-r--r-- | games/gnono/Makefile | 20 |
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> |