aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/wmii/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-wm/wmii/Makefile b/x11-wm/wmii/Makefile
index 1edc2d48a485..899a6f7cf75c 100644
--- a/x11-wm/wmii/Makefile
+++ b/x11-wm/wmii/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wmii
DISTVERSION= 3.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= http://www.suckless.org/download/
@@ -33,6 +33,8 @@ post-patch: .SILENT
${WRKSRC}/cmd/Makefile
# Strip debug build options
${REINPLACE_CMD} -E 's| -g( -O0)?||' ${WRKSRC}/config.mk
+ ${REINPLACE_CMD} -e 's|CFLAGS += -DIXPlint|& -DIXP_NEEDAPI=89|' \
+ ${WRKSRC}/config.mk$
# Make actual compile/link command appear in the build log
${REINPLACE_CMD} -e 's|^COMPILE=|& noisycc=yes | ; \
s|^LINK=|& noisycc=yes |' ${WRKSRC}/mk/hdr.mk