summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/graphthing/Makefile8
-rw-r--r--x11-toolkits/gtkextra--/Makefile8
2 files changed, 14 insertions, 2 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>
diff --git a/x11-toolkits/gtkextra--/Makefile b/x11-toolkits/gtkextra--/Makefile
index 23a55aed8387..3cfbcc22c320 100644
--- a/x11-toolkits/gtkextra--/Makefile
+++ b/x11-toolkits/gtkextra--/Makefile
@@ -25,4 +25,10 @@ USE_GNOME= gtk12
INSTALLS_SHLIB= yes
CONFIGURE_ENV= PERL="${PERL}"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Configure fails on FreeBSD >= 5.x"
+.endif
+
+.include <bsd.port.post.mk>