1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Fix build with glib 2.34.

Submitted by:	xorg exp-run via miwi
This commit is contained in:
Koop Mast 2013-05-19 18:12:27 +00:00
parent 8ee54db421
commit 2410959962
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318544

View File

@ -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>