From nobody@FreeBSD.org  Wed Feb 28 09:27:23 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 44F6C37B71A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Feb 2001 09:27:23 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f1SHRNK79210;
	Wed, 28 Feb 2001 09:27:23 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200102281727.f1SHRNK79210@freefall.freebsd.org>
Date: Wed, 28 Feb 2001 09:27:23 -0800 (PST)
From: richard@gohome.net
To: freebsd-gnats-submit@FreeBSD.org
Subject: /etc/defaults/make.conf says to set PERL_THREADS = true but perl Makefile checks for "yes"
X-Send-Pr-Version: www-1.0

>Number:         25458
>Category:       gnu
>Synopsis:       /etc/defaults/make.conf says to set PERL_THREADS = true but perl Makefile checks for "yes"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    markm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 28 09:30:01 PST 2001
>Closed-Date:    Wed Feb 28 09:40:16 PST 2001
>Last-Modified:  Sun Mar 11 17:00:01 PST 2001
>Originator:     Richard Roderick
>Release:        4.2-STABLE
>Organization:
>Environment:
FreeBSD utonium.monkeytwins.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Feb 24 19:02:59 PST 2001
>Description:
Looking through /etc/defaults/make.conf I tried making perl threaded. It didn't, upon examination the perl Makefile.inc in /usr/src/gnu/usr.bin/perl checks for PERL_THREADED=="yes" not "true" and thus the buildworld output showed usethreads=undef instead of usethreads=def.
>How-To-Repeat:
N/A
>Fix:
Either /etc/defaults/make.conf or /usr/src/gnu/usr.bin/perl/Makefile.inc need to be updated.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Wed Feb 28 09:40:16 PST 2001 
State-Changed-Why:  
Fixed in 4.2-STABLE, gnu/usr.bin/perl/Makefile.inc,v 1.12.2.2. 


Responsible-Changed-From-To: freebsd-bugs->markm 
Responsible-Changed-By: ru 
Responsible-Changed-When: Wed Feb 28 09:40:16 PST 2001 
Responsible-Changed-Why:  
To let the Mark know I MFC'ed the fix in his area. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25458 

From: Kris Kennaway <kris@obsecurity.org>
To: richard@gohome.net
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: gnu/25458: /etc/defaults/make.conf says to set PERL_THREADS = true but perl Makefile checks for "yes"
Date: Sun, 11 Mar 2001 16:30:45 -0800

 --pvezYHf7grwyp3Bc
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Wed, Feb 28, 2001 at 09:27:23AM -0800, richard@gohome.net wrote:
 
 > Looking through /etc/defaults/make.conf I tried making perl
 > threaded. It didn't, upon examination the perl Makefile.inc in
 > /usr/src/gnu/usr.bin/perl checks for PERL_THREADED=="yes" not "true"
 > and thus the buildworld output showed usethreads=undef instead of
 > usethreads=def.
 
 It shouldn't be testing for a value at all -- none of the other
 feature-enable/disable variables in make.conf do, they're just tested
 for existence.  IMO this should be done consistently.
 
 Kris
 
 --pvezYHf7grwyp3Bc
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.4 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE6rBi1Wry0BWjoQKURAhWtAKCMiDvYWAdjLzD9evNgQfPf4yZpHACg5dFp
 +tq64chi/wTo3v3zH/QmcsI=
 =FIbZ
 -----END PGP SIGNATURE-----
 
 --pvezYHf7grwyp3Bc--
>Unformatted:
