[Momonga-devel.ja:00857] Re: perl-5.8.0 投入!


zaki です。

添付のようなpatch を作ってみました。
ビルドできる事は確認しましたがこの修正でよさそうですか?> kaz

> 手元の環境では、GCC3がマージされた頃からkernelのbuildができない状態ですので
> おそらくはこちらの環境のせいだと思いますが、
> 原因解明のためのポインタなどありましたらよろしくお願いします。

alsa の部分ですか?
---
YAMAZAKI Makoto <uomaster@xxxxxxxxx>
Index: perl/perl.spec
===================================================================
RCS file: /home/cvs/pkgs/perl/perl.spec,v
retrieving revision 1.17
diff -u -u -r1.17 perl.spec
--- perl/perl.spec	2002/11/24 13:31:41	1.17
+++ perl/perl.spec	2002/11/24 17:38:08
@@ -1,10 +1,12 @@
 %define perlver 5.8.0
-%define perlrel 1m
+%define perlrel 2m
 %define perlepoch 1
 %define cpanver 1.61
 %define dbfilever 1.804
 %define cgiver 2.81
 
+%define with_thread 1
+
 Provides: perl(:WITH_PERLIO)
 
 Summary: The Perl programming language.
@@ -147,8 +149,10 @@
 	-Dman1dir=%{_mandir}/man1 -Dman3dir=%{_mandir}/man3 \
 	-Dcc='gcc' \
 	-Ui_ndbm \
+%if %{with_thread}
 	-Dusethreads \
-        -Duseithreads \
+	-Duseithreads \
+%endif
 	-Dd_dosuid \
 	-Ud_csh \
 	-Duseshrplib \
@@ -182,7 +186,11 @@
 GCCH	= \$(filter \$(GCCDIR)/%%, \$(shell rpm -q --queryformat '[%%{FILEMODES} %%{FILENAMES}\n]' gcc | grep -v ^4 | awk '{print $NF}'))
 
 PERLLIB = %{buildroot}%{_libdir}/perl5/%{perlver}
+%if %{with_thread}
+ARCHLIB = %{buildroot}%{_libdir}/perl5/%{perlver}/%{_arch}-%{_os}-thread-multi
+%else
 ARCHLIB = %{buildroot}%{_libdir}/perl5/%{perlver}/%{_arch}-%{_os}
+%endif
 PERL	= LD_LIBRARY_PATH=\$(ARCHLIB)/CORE PERL5LIB=\$(PERLLIB) %{buildroot}%{_bindir}/perl
 PHDIR	= \$(PERLLIB)/\${RPM_ARCH}-linux*
 H2PH	= \$(PERL) %{buildroot}%{_bindir}/h2ph -d \$(PHDIR)/
@@ -244,6 +252,10 @@
 %{_bindir}/perl5
 
 %changelog
+* Mon Nov 25 2002 YAMAZAKI Makoto <uomaster@xxxxxxxxx>
+- (5.8.0-2m)
+- fix thread support
+
 * Thu Nov 21 2002 Kazuhiko <kazuhiko@xxxxxxxxxx>
 - (5.8.0-1m)
 - merged from rawhide