diff --git a/textproc/p5-HTML-Tidy5/Makefile b/textproc/p5-HTML-Tidy5/Makefile
index 31bb47057180..4f125378b1e2 100644
--- a/textproc/p5-HTML-Tidy5/Makefile
+++ b/textproc/p5-HTML-Tidy5/Makefile
@@ -13,8 +13,8 @@ LICENSE= ART20
LIB_DEPENDS= libtidy5.so:www/tidy-html5
-USE_PERL5= configure
USES= localbase perl5
+USE_PERL5= configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/HTML/Tidy5/Tidy5.so