aboutsummaryrefslogtreecommitdiff
path: root/games/gnono
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnono')
-rw-r--r--games/gnono/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/gnono/Makefile b/games/gnono/Makefile
index 72c83f06a05b..142df9bb9ae2 100644
--- a/games/gnono/Makefile
+++ b/games/gnono/Makefile
@@ -25,4 +25,8 @@ LDFLAGS= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN6= ${PORTNAME}.6
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
+ 's|-DG.*_DISABLE_DEPRECATED||g'
+
.include <bsd.port.mk>