aboutsummaryrefslogtreecommitdiffstats
path: root/x11/p5-X11-GUITest
diff options
context:
space:
mode:
Diffstat (limited to 'x11/p5-X11-GUITest')
-rw-r--r--x11/p5-X11-GUITest/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/p5-X11-GUITest/Makefile b/x11/p5-X11-GUITest/Makefile
index 874a2d67d107..8141e5718c9b 100644
--- a/x11/p5-X11-GUITest/Makefile
+++ b/x11/p5-X11-GUITest/Makefile
@@ -25,7 +25,13 @@ USE_XLIB= yes
PERL_CONFIGURE= yes
MAN3= X11::GUITest.3
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= This port requires perl 5.8.0 or later. Install lang/perl5.8 then try again
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s,/usr/X11R6,${X11BASE},g" ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>