hi, i just updated the libclthreads ebuild + patch (new homepage, source files have moved, also a new version) compiles on my ~amd64, got no x86 to test it... regards ron
Created attachment 103215 [details] ebuild for libclthreads-2.2.1
Created attachment 103216 [details, diff] makefile patch
Created attachment 103217 [details, diff] new makefile patch clthreads.h got installed as /usr/include/, fixed now.
Created attachment 105511 [details, diff] another Makefile patch This makefile patch incorporates the effects of the stable libclthreads patch, in particular using the -D install option for creating parent directories. Also the -O2 gcc optimization flag is dropped from the Makefile so that CFLAGS settings are not shadowed.
Created attachment 105515 [details] another ebuild Although nearly identical to the previously posted ebuild, this version uses ${PV} for the Makefile patch so that multiple versions can co-exist in files/
just noticed that the license in the ebuild is stale. The download page states the license as LGPL.
Comment on attachment 105515 [details] another ebuild ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/media-libs/libclthreads/libclthreads-1.0.2.ebuild,v 1.4 2006/03/06 14:41:16 flameeyes Exp $ > >IUSE="" > >inherit eutils multilib toolchain-funcs > >MY_P="clthreads-${PV}" > >S="${WORKDIR}/${MY_P}" > >DESCRIPTION="An audio library by Fons Adriaensen <fons.adriaensen@skynet.be>" >HOMEPAGE="http://www.kokkinizita.net/linuxaudio/" >SRC_URI="http://www.kokkinizita.net/linuxaudio/downloads/${MY_P}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="amd64 ~ppc sparc x86" > >src_unpack() { > unpack ${A} > cd ${S} > epatch "${FILESDIR}/${PV}-Makefile.patch" >} > >src_compile() { > tc-export CC CXX > emake || die "emake failed" >} > >src_install() { > make CLTHREADS_LIBDIR="/usr/$(get_libdir)" DESTDIR="${D}" install || die "make install failed" make CLTHREADS_LIBDIR="/usr/$(get_libdir)" CLTHREADS_INCDIR="/usr/include/" DESTDIR="${D}" install || die "make install failed" >}
Created attachment 105527 [details, diff] revised Makefile patch draft 2 (fixes a bug in stable and the bump) Both the stable and the rev bump caused jaaa to fail compilation with libclthreads.so unable to resolve clock_gettime. This revision of the Makefile patch adds -lrt as a dependency fixing the problem.
bumped, thanks ;)