aboutsummaryrefslogtreecommitdiff
path: root/japanese/ochusha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ochusha/Makefile')
-rw-r--r--japanese/ochusha/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/japanese/ochusha/Makefile b/japanese/ochusha/Makefile
index 27ca4a918e21..b843c4002468 100644
--- a/japanese/ochusha/Makefile
+++ b/japanese/ochusha/Makefile
@@ -33,6 +33,10 @@ DESKTOP_ENTRIES="ochusha" "A GUI BBS browser for 2ch.net" \
ACLOCAL_ARGS= -I "${ACLOCAL_DIR}" -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS= -c -a
+post-patch:
+ @${FIND} ${WRKSRC} -name Makefile.* | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|-D.*_DISABLE_DEPRECATED||g'
+
pre-configure:
@echo "===> Regenerating ${WRKSRC}/libmodifiedgtk2/Makefile.in"
@${RM} ${WRKSRC}/libmodifiedgtk2/aclocal.m4