aboutsummaryrefslogtreecommitdiff
path: root/archivers/p5-Compress-LZO/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/p5-Compress-LZO/Makefile')
-rw-r--r--archivers/p5-Compress-LZO/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/p5-Compress-LZO/Makefile b/archivers/p5-Compress-LZO/Makefile
index 43e82ec32c2f..ea7996155eda 100644
--- a/archivers/p5-Compress-LZO/Makefile
+++ b/archivers/p5-Compress-LZO/Makefile
@@ -14,7 +14,8 @@ COMMENT= Interface to the LZO compression library
LIB_DEPENDS= lzo2:${PORTSDIR}/archivers/lzo2
CFLAGS+= -I${LOCALBASE}/include/lzo
-PERL_CONFIGURE= yes
+USES= perl5
+USE_PERL5= configure
post-patch:
@${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL