aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Locale-libintl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Locale-libintl/Makefile')
-rw-r--r--devel/p5-Locale-libintl/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/p5-Locale-libintl/Makefile b/devel/p5-Locale-libintl/Makefile
index ca5e92646989..2ab6c41b4aef 100644
--- a/devel/p5-Locale-libintl/Makefile
+++ b/devel/p5-Locale-libintl/Makefile
@@ -19,8 +19,6 @@ COMMENT= Internationalization library for Perl
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
RUN_DEPENDS= ${BUILD_DEPENDS}
-BROKEN= Incomplete pkg-plist
-
PERL_CONFIGURE= yes
USE_GETTEXT= yes
@@ -171,4 +169,12 @@ MAN3= Locale::RecodeData::IBM862.3 \
Locale::RecodeData::IBM290.3 \
Locale::RecodeData::IBM903.3 \
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} > 500600
+PLIST_SUB= NEWPERL=""
+.else
+PLIST_SUB= NEWPERL="@comment "
+.endif
+
+.include <bsd.port.post.mk>