summaryrefslogtreecommitdiff
path: root/x11-wm/selectwm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/selectwm/Makefile')
-rw-r--r--x11-wm/selectwm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-wm/selectwm/Makefile b/x11-wm/selectwm/Makefile
index b5e853a47141..d93ba3565b75 100644
--- a/x11-wm/selectwm/Makefile
+++ b/x11-wm/selectwm/Makefile
@@ -28,5 +28,7 @@ post-patch:
@${REINPLACE_CMD} -e 's,-O2,${CFLAGS},g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,^CFLAGS =,CFLAGS +=,' -e 's,-O2,,' \
${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|#define G.*DISABLE_DEPRECATED||g' \
+ ${WRKSRC}/src/define.h
.include <bsd.port.mk>