Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2012 05:29:21 -0900
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170218: [patch] mail/enigmail: fails without /usr/bin/perl
Message-ID:  <1Sunck-000Jlf-G5@internal.tormail.org>
Resent-Message-ID: <201207271650.q6RGo6K8077385@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1Sunck-000Jlf-G5>