aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/devilspie/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/devilspie/Makefile')
-rw-r--r--x11-wm/devilspie/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-wm/devilspie/Makefile b/x11-wm/devilspie/Makefile
index b21cc65fa601..61723d4582c9 100644
--- a/x11-wm/devilspie/Makefile
+++ b/x11-wm/devilspie/Makefile
@@ -26,6 +26,12 @@ PORTDOCS= AUTHORS NEWS README TODO
PLIST_FILES= bin/devilspie \
share/locale/de/LC_MESSAGES/devilspie.mo
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN= does not compile on 6.X
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||' \
${WRKSRC}/src/Makefile.in
@@ -36,4 +42,4 @@ post-install:
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>