aboutsummaryrefslogtreecommitdiff
path: root/math/graphthing
diff options
context:
space:
mode:
Diffstat (limited to 'math/graphthing')
-rw-r--r--math/graphthing/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/graphthing/Makefile b/math/graphthing/Makefile
index 238659063acf..7307978a352e 100644
--- a/math/graphthing/Makefile
+++ b/math/graphthing/Makefile
@@ -25,8 +25,14 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/graphthing bin/gt
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Configure fails on FreeBSD >= 5.x"
+.endif
+
post-patch:
${REINPLACE_CMD} -e "s,\/usr\/include\/gtk-1.2\/gdk\/gdkkeysyms.h,," \
${WRKSRC}/src/depend.1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>