aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-libwww
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-libwww')
-rw-r--r--www/p5-libwww/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/p5-libwww/Makefile b/www/p5-libwww/Makefile
index c4f1e71f7172..a687d29e56b1 100644
--- a/www/p5-libwww/Makefile
+++ b/www/p5-libwww/Makefile
@@ -7,6 +7,7 @@
PORTNAME= p5-libwww
PORTVERSION= 5.65
+PORTREVISION= 1
CATEGORIES= www perl5 devel
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= LWP
@@ -22,6 +23,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Digest/
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+USE_REINPLACE= yes
MAN1= GET.1 HEAD.1 POST.1 lwp-download.1 lwp-mirror.1 lwp-request.1 lwp-rget.1
@@ -36,4 +38,8 @@ MAN3= Bundle::LWP.3 File::Listing.3 HTML::Form.3 HTTP::Cookies.3 \
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+post-patch:
+ @${REINPLACE_CMD} -e "s,/usr/lib/sendmail,/usr/sbin/sendmail," \
+ ${WRKSRC}/lib/LWP/Protocol/mailto.pm
+
.include <bsd.port.mk>