Date: Tue, 30 Nov 2004 01:38:53 GMT From: "Chad M. Fraleigh" <chadf@bookcase.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/74541: [patch] ports/mail/p5-Sendmail-Milter does not compile with threaded perl installed Message-ID: <200411300138.iAU1crFO041512@www.freebsd.org> Resent-Message-ID: <200411300140.iAU1eRhr038317@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411300138.iAU1crFO041512>