From dgl@kirk.dsl.visi.com  Mon Jul 24 19:58:06 2000
Return-Path: <dgl@kirk.dsl.visi.com>
Received: from kirk.dsl.visi.com (kirk.dsl.visi.com [209.98.248.172])
	by hub.freebsd.org (Postfix) with ESMTP id 5625237B931
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 24 Jul 2000 19:58:05 -0700 (PDT)
	(envelope-from dgl@kirk.dsl.visi.com)
Received: (from dgl@localhost)
	by kirk.dsl.visi.com (8.9.3/8.9.3) id VAA11216;
	Mon, 24 Jul 2000 21:58:03 -0500 (CDT)
	(envelope-from dgl)
Message-Id: <200007250258.VAA11216@kirk.dsl.visi.com>
Date: Mon, 24 Jul 2000 21:58:03 -0500 (CDT)
From: Doug Lee <dgl@visi.com>
Sender: dgl@kirk.dsl.visi.com
Reply-To: dgl@visi.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: PERL_THREADED=true fails; "yes" works; make.conf says true
X-Send-Pr-Version: 3.2

>Number:         20165
>Category:       bin
>Synopsis:       PERL_THREADED=true fails; "yes" works; make.conf says true
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    markm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 24 20:00:00 PDT 2000
>Closed-Date:    Wed Aug 29 10:06:04 PDT 2001
>Last-Modified:  Wed Aug 29 10:06:41 PDT 2001
>Originator:     Doug Lee
>Release:        FreeBSD 4.0-20000718-STABLE i386
>Organization:
>Environment:

	

>Description:

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."

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

>Fix:

Change /etc/default/make.conf to say "yes" or (perhaps better) make
perl's makefile(s) notice "true" settings properly.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->markm 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Tue Jul 25 01:49:25 PDT 2000 
Responsible-Changed-Why:  
Mark, I think that this one should be fixed in 
src/gnu/usr.bin/perl/perl/Makefile, not src/etc/defaults/make.conf. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20165 
State-Changed-From-To: open->closed 
State-Changed-By: tobez 
State-Changed-When: Wed Aug 29 10:06:04 PDT 2001 
State-Changed-Why:  
We have no PERL_THREADED any longer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20165 
>Unformatted:
