aboutsummaryrefslogtreecommitdiff
path: root/www/p5-libwww
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-08-18 15:37:46 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-08-18 15:37:46 +0000
commit88d3727d25813dfb52de72a2c0c6756b05501779 (patch)
tree4c5fc3a8826b57f60fa7f02bf343708badc38f57 /www/p5-libwww
parent3c8d362837b2479195c58834ee5cedfa10f50227 (diff)
downloadports-88d3727d25813dfb52de72a2c0c6756b05501779.tar.gz
ports-88d3727d25813dfb52de72a2c0c6756b05501779.zip
Make the default sendmail /usr/sbin/sendmail instead of /usr/lib/sendmail
and bump PORTREVISION. Noticed by: jef moskot <jef@math.miami.edu>
Notes
Notes: svn path=/head/; revision=64631
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>