Bug 20165

Summary: PERL_THREADED=true fails; "yes" works; make.conf says true
Product: Base System Reporter: Doug Lee <dgl>
Component: binAssignee: Mark Murray <markm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Doug Lee 2000-07-25 04:00:00 UTC
Many people make /etc/make.conf by copying all or part of
/etc/defaults/make.conf and editing.  /etc/defaults/make.conf says:.

# To build perl with thread support
#PERL_THREADED=	true

But "true" is ignored and treated as "no."  To compile with thread
support, you must use "yes" instead.

Reason:  /usr/src/gnu/usr.bin/perl/perl/Makefile compares
PERL_THREADED to "yes" but not to "true."

Fix: 

Change /etc/default/make.conf to say "yes" or (perhaps better) make
perl's makefile(s) notice "true" settings properly.
How-To-Repeat: 
Try setting PERL_THREADED to true in /etc/make.conf and doing make
depend/make in /usr/src/gnu/usr.bin/perl to rebuild perl.  Thread
support will not be included.  If you set PERL_THREADED to yes in
/etc/make.conf, it will.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-25 09:49:25 UTC
Responsible Changed
From-To: freebsd-bugs->markm

Mark, I think that this one should be fixed in 
src/gnu/usr.bin/perl/perl/Makefile, not src/etc/defaults/make.conf.
Comment 2 Anton Berezin freebsd_committer freebsd_triage 2001-08-29 18:06:04 UTC
State Changed
From-To: open->closed

We have no PERL_THREADED any longer.