aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2012-08-09 16:32:41 +0800
committerale <ale@FreeBSD.org>2012-08-09 16:32:41 +0800
commitd56c11651b4d50126f420fe010ce24724911880b (patch)
tree256ecc36a0a6bf78f3d9cac8c3b529528c0b3e30 /mail
parentef590c884b3a6bb6b83123657a0b8c8ddf2bb73c (diff)
downloadfreebsd-ports-gnome-d56c11651b4d50126f420fe010ce24724911880b.tar.gz
freebsd-ports-gnome-d56c11651b4d50126f420fe010ce24724911880b.tar.zst
freebsd-ports-gnome-d56c11651b4d50126f420fe010ce24724911880b.zip
Fix build when perl is built without USE_PERL.
PR: ports/170218 Submitted by: Jan Beich <jbeich@tormail.org>
Diffstat (limited to 'mail')
-rw-r--r--mail/enigmail/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/enigmail/Makefile b/mail/enigmail/Makefile
index 5246fcb6c718..8c98fdae272f 100644
--- a/mail/enigmail/Makefile
+++ b/mail/enigmail/Makefile
@@ -71,6 +71,8 @@ pre-patch:
`${FIND} ${WRKSRC} -name autoconf.mk`
post-patch:
+ ${REINPLACE_CMD} "s,/usr/bin/perl,${PERL}," \
+ ${WRKSRC}/mailnews/extensions/enigmail/makemake
${REINPLACE_CMD} "s/^XPI_MODULE_VERS = [0-9.]*/XPI_MODULE_VERS = ${PORTVERSION}/" \
${WRKSRC}/mailnews/extensions/enigmail/Makefile.in
${REINPLACE_CMD} "s,<em:version>[0-9.a-z]*</em:version>,<em:version>${PORTVERSION}</em:version>," \