ports/74541: [patch] ports/mail/p5-Sendmail-Milter does not compile with threaded perl installed
Chad M. Fraleigh
chadf at bookcase.com
Tue Nov 30 01:40:43 UTC 2004
>Number: 74541
>Category: ports
>Synopsis: [patch] ports/mail/p5-Sendmail-Milter does not compile with threaded perl installed
>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: Tue Nov 30 01:40:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Chad M. Fraleigh
>Release: 4.8
>Organization:
>Environment:
ports collection as of Mon Nov 29 20:22:49 EST 2004
# $FreeBSD: ports/mail/p5-Sendmail-Milter/Makefile,v 1.3 2003/08/07 20:44:51 sobomax Exp $
>Description:
The p5-Sendmail-Milter port does not account for the WITH_THREADS option in the perl 5.8 port. It will always return the following error, even when a threaded perl has been installed:
===> p5-Sendmail-Milter-0.18 Requires perl compiled manually with threads..
>How-To-Repeat:
cd /usr/ports/mail/p5-Sendmail-Milter
make
>Fix:
Patch for ports/mail/p5-Sendmail-Milter/Makefile:
(also available upon request)
--- Makefile.orig Sat Aug 9 22:00:52 2003
+++ Makefile Mon Nov 29 20:07:07 2004
@@ -15,7 +15,13 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= A module to write mail filters in Perl using sendmail's mail filter API
+.if !defined(PERL_THREADED)
+PERL_THREADED!= perl -e 'use Config; if($$Config{usethreads}) { print "YES" }'
+.endif
+
+.if ${PERL_THREADED} != "YES"
IGNORE= "Requires perl compiled manually with threads."
+.endif
PERL_CONFIGURE= yes
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list