diff --git a/devel/p5-Term-EditLine/Makefile b/devel/p5-Term-EditLine/Makefile index 34534eb9b3a7..241f3dda495a 100644 --- a/devel/p5-Term-EditLine/Makefile +++ b/devel/p5-Term-EditLine/Makefile @@ -1,21 +1,26 @@ PORTNAME= Term-EditLine PORTVERSION= 0.11 CATEGORIES= devel perl5 MASTER_SITES= CPAN \ LOCAL/ehaupt PKGNAMEPREFIX= p5- MAINTAINER= ehaupt@FreeBSD.org COMMENT= Perl interface to the NetBSD editline library WWW= https://metacpan.org/release/Term-EditLine LICENSE= ART10 GPLv1+ LICENSE_COMB= dual USES= libedit perl5 pkgconfig USE_PERL5= configure +post-configure: + @${REINPLACE_CMD} \ + -e 's|\(iv_return.*\)\(EL_BUILTIN_GETCFN\)|\1(IV)\2|' \ + ${WRKSRC}/const-c.inc + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Term/EditLine/EditLine.so .include