aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/muine/Makefile2
-rw-r--r--databases/mysql-gui-tools/Makefile2
-rw-r--r--games/gnono/Makefile4
-rw-r--r--x11-toolkits/libzvt/Makefile2
4 files changed, 10 insertions, 0 deletions
diff --git a/audio/muine/Makefile b/audio/muine/Makefile
index b99fe95b337f..479e03d3dd61 100644
--- a/audio/muine/Makefile
+++ b/audio/muine/Makefile
@@ -61,6 +61,8 @@ post-patch:
${WRKSRC}/data/Makefile.in
@${REINPLACE_CMD} -e 's|libmusicbrainz.so.4|libmusicbrainz.so|g' \
${WRKSRC}/src/muine.exe.config.in
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
+ 's|-DG.*_DISABLE_DEPRECATED||g'
post-install:
${MKDIR} ${PREFIX}/lib/muine/plugins
diff --git a/databases/mysql-gui-tools/Makefile b/databases/mysql-gui-tools/Makefile
index 867f7638ae52..9971a83e94cf 100644
--- a/databases/mysql-gui-tools/Makefile
+++ b/databases/mysql-gui-tools/Makefile
@@ -78,6 +78,8 @@ post-patch:
${REINPLACE_CMD} -e 's|-llualib||g' ${WRKSRC}/mysql-gui-common/configure \
${WRKSRC}/mysql-gui-common/source/php/Makefile \
${WRKSRC}/mysql-gui-common/source/php/modules/Makefile
+ ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
+ 's|-DG.*_DISABLE_DEPRECATED||g'
.if defined(WITHOUT_NLS)
${REINPLACE_CMD} -e '/^SUBDIRS/s|po||' \
${WRKSRC}/mysql-gui-common/Makefile.am \
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>
diff --git a/x11-toolkits/libzvt/Makefile b/x11-toolkits/libzvt/Makefile
index f20830ebf4a7..76f8b54ea063 100644
--- a/x11-toolkits/libzvt/Makefile
+++ b/x11-toolkits/libzvt/Makefile
@@ -29,5 +29,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
post-patch:
@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib.h|g'
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
+ 's|-DG.*_DISABLE_DEPRECATED||g'
.include <bsd.port.mk>