aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/p5-Dialog/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/p5-Dialog/Makefile b/devel/p5-Dialog/Makefile
index ab58daa0e8e1..5961fbaaff49 100644
--- a/devel/p5-Dialog/Makefile
+++ b/devel/p5-Dialog/Makefile
@@ -16,11 +16,12 @@ MAINTAINER= leeym@FreeBSD.org
COMMENT= Perl interface to dialog(3)
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500007
+
+.if ${PERL_LEVEL} >= 500600
EXTRA_PATCHES= ${FILESDIR}/extra-Dialog.xs
.endif
-PERL_CONFIGURE= YES
+PERL_CONFIGURE= yes
MAN3= Dialog.3