summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/gkrellmbgchg2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/gkrellmbgchg2/Makefile b/misc/gkrellmbgchg2/Makefile
index 449b6108e9b9..66ce2ecd787e 100644
--- a/misc/gkrellmbgchg2/Makefile
+++ b/misc/gkrellmbgchg2/Makefile
@@ -21,6 +21,12 @@ USE_GNOME= gtk20
PLIST_FILES= libexec/gkrellm2/plugins/gkrellmbgchg.so
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not compile
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/Makefile
@@ -29,4 +35,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/gkrellmbgchg.so \
${PREFIX}/libexec/gkrellm2/plugins
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>