aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-libwww
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-08-18 23:37:46 +0800
committerpetef <petef@FreeBSD.org>2002-08-18 23:37:46 +0800
commit3b1469aa0e71ff38622bce6168dc8ed8f14c317c (patch)
tree451324badb12122dc52236123e2122cf3598b288 /www/p5-libwww
parente0d87d568333de9220b30f04d57efc2cb69b6bbd (diff)
downloadfreebsd-ports-gnome-3b1469aa0e71ff38622bce6168dc8ed8f14c317c.tar.gz
freebsd-ports-gnome-3b1469aa0e71ff38622bce6168dc8ed8f14c317c.tar.zst
freebsd-ports-gnome-3b1469aa0e71ff38622bce6168dc8ed8f14c317c.zip
Make the default sendmail /usr/sbin/sendmail instead of /usr/lib/sendmail
and bump PORTREVISION. Noticed by: jef moskot <jef@math.miami.edu>
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>