Date: Fri, 21 Apr 2000 09:46:30 -0400 (EDT) From: "Alexander N. Kabaev" <ak03@gte.com> To: Maxim Sobolev <sobomax@altavista.net> Cc: ports@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Thomas Gellekum <tg@FreeBSD.ORG> Subject: Re: cvs commit: ports/devel/sdl Makefile ports/devel/sdl/patches Message-ID: <XFMail.000421094630.ak03@gte.com> In-Reply-To: <3900352A.7680FDB7@altavista.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format --_=XFMail.1.4.0.FreeBSD:000421094630:63595=_ Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Maybe it makes more sense to allow python makesetup script to understand -pthread flag? Small patch for python 1.52 attached. I am adding -pthread flag to both $libs and $cpp because I do not know if $cpps variable is used at link stage: + -pthread) libs="$libs $arg" + cpps="$cpps $arg";; On 21-Apr-00 Maxim Sobolev wrote: > Thomas Gellekum wrote: > >> tg 2000/04/20 02:24:29 PDT >> >> Modified files: >> devel/sdl Makefile >> devel/sdl/patches patch-ac >> Added files: >> devel/sdl/patches patch-ad patch-ae patch-af >> Log: >> Use our libc_r instead of linuxthreads. > > Unfortunately this has two undesirable side effects: > > 1. It breaks the build of the pysol-sound-server port due to the additional > -pthread option returned by the sdl-config which doesn't handled by the > python's configure. This could be easily fixed and I'm attached modified > patch-aa for pysol-sound-server. > > 2. It breaks some ports based on smpeg library (e.g. pysol-sound-server). The > problem is that the smpeg written in c++, while it is known not to work in > some > cases resulting in "/usr/local/lib/libsmpeg-0.3.so.0: Undefined symbol > "__pure_virtual" message on library import when the library being imported > from > program written in straight C and linked with /usr/bin/cc. I donno why it was > working with linuxthreads and how to fix it properly. Any help from someone > who > knows C++/C mixing issues better is highly appreciated. > > -Maxim > > --_=XFMail.1.4.0.FreeBSD:000421094630:63595=_ Content-Disposition: attachment; filename="patch-ah" Content-Transfer-Encoding: 7bit Content-Description: patch-ah Content-Type: text/plain; charset=us-ascii; name=patch-ah; SizeOnDisk=382 --- Modules/makesetup.orig Fri Apr 21 09:34:24 2000 +++ Modules/makesetup Fri Apr 21 09:36:20 2000 @@ -135,6 +135,8 @@ -[IDUC]*) cpps="$cpps $arg";; -Xlinker) libs="$libs $arg"; skip=libs;; -[A-Zl]*) libs="$libs $arg";; + -pthread) libs="$libs $arg" + cpps="$cpps $arg";; *.a) libs="$libs $arg";; *.so) libs="$libs $arg";; *.sl) libs="$libs $arg";; --_=XFMail.1.4.0.FreeBSD:000421094630:63595=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000421094630.ak03>