| Summary: | /etc/defaults/make.conf lists wrong value for PERL_THREADED | ||
|---|---|---|---|
| Product: | Base System | Reporter: | patl <patl> |
| Component: | misc | Assignee: | Mark Murray <markm> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.0-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
patl
2000-06-18 18:10:00 UTC
Hi
I think a better solution is to change
/usr/src/gnu/usr.bin/perl/perl/Makefile:.if ${PERL_THREADED} == "yes"
/usr/src/gnu/usr.bin/perl/Makefile.inc:PERL_THREADED?= no
/usr/src/gnu/usr.bin/perl/Makefile.inc:.if ${PERL_THREADED} == "yes"
to use 'true' instead since our make.conf uses true for every other value.
in /usr/src/gnu/usr.bin/perl/perl/
--- Makefile.~1~ Thu Aug 3 18:27:23 2000
+++ Makefile Thu Aug 3 18:28:03 2000
@@ -24,7 +24,7 @@
DYNAMIC_EXT= B/B DB_File/DB_File Data/Dumper/Dumper Fcntl/Fcntl IO/IO \
IPC/SysV/SysV NDBM_File/NDBM_File Opcode/Opcode POSIX/POSIX \
SDBM_File/SDBM_File Socket/Socket attrs/attrs re/re
-.if ${PERL_THREADED} == "yes"
+.if ${PERL_THREADED} != "no"
DYNAMIC_EXT+= Thread/Thread
.endif
in /usr/src/gnu/usr.bin/perl/
--- Makefile.inc.~1~ Thu Aug 3 18:27:27 2000
+++ Makefile.inc Thu Aug 3 18:28:26 2000
@@ -58,7 +58,7 @@
FARMDIRS= lib ext Porting hints
PERL_THREADED?= no
-.if ${PERL_THREADED} == "yes"
+.if ${PERL_THREADED} != "no"
CFLAGS+= -pthread
THREAD= threads-
.endif
Mark (markm), can you please have a look at this since you made the changes.
Thanks
Johan K
Responsible Changed From-To: freebsd-bugs->markm Johan's feedback will be interesting to the perl5 maintainer. As of 4.3-BETA (2001-03-17), it appears that the Makefiles themselves are inconsistant. /usr/src/gnu/usr.bin/perl/Makefile.inc tests PERL_THREADED against "true" but /usr/src/gnu/usr.bin/perl/library/Makefile tests it against "yes" /etc/defaults/make.conf suggests "true" -Pat State Changed From-To: open->closed We have no PERL_THREADED any longer. |