ports/170218: [patch] mail/enigmail: fails without /usr/bin/perl
Jan Beich
jbeich at tormail.org
Fri Jul 27 16:50:06 UTC 2012
>Number: 170218
>Category: ports
>Synopsis: [patch] mail/enigmail: fails without /usr/bin/perl
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 27 16:50:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jan Beich
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
lang/perl5.16 installed *without* USE_PERL
>Description:
>How-To-Repeat:
$ make
===> Building for seamonkey-enigmail-1.4.2
cd /usr/ports/mail/enigmail-seamonkey/work/obj-x86_64-portbld-freebsd9.9/mailnews/extensions/enigmail && ./makemake -r
./makemake: not found
*** [do-build] Error code 127
>Fix:
--- use_perl.diff begins here ---
Index: mail/enigmail/Makefile
===================================================================
--- mail/enigmail/Makefile (revision 301561)
+++ mail/enigmail/Makefile (working copy)
@@ -82,6 +82,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
--- use_perl.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list