On Mon, October 22, 2012 15:39, Steven Mestdagh wrote: > Kirill Bychkov [2012-10-13, 17:10:24]: >> Hi. This patch enables threaded libs in math/fftw3. The are required by >> upcoming luminance-hdr port. >> Regression tests were completed with no errors on amd64. Also tested with >> scorched3d game - no fallout. >> OK to commit? >> >> Index: Makefile >> =================================================================== >> RCS file: /cvs/ports/math/fftw3/Makefile,v >> retrieving revision 1.22 >> diff -u -r1.22 Makefile >> --- Makefile 29 Mar 2012 13:38:40 -0000 1.22 >> +++ Makefile 16 Jul 2012 06:07:14 -0000 >> @@ -10,10 +10,12 @@ >> # XXX set it to its default value so that bsd.port.mk won't whine >> FULLPKGPATH-main= math/fftw3,-main${FLAVOR_EXT:S/-/,/g} >> FULLPKGNAME-common= fftw3-common-${V} >> -REVISION-main= 0 >> +REVISION-main= 1 >> REVISION-common=0 >> SHARED_LIBS= fftw3 5.0 \ >> - fftw3f 5.0 >> + fftw3f 5.0 \ >> + fftw3_threads 0.0 \ >> + fftw3f_threads 0.0 >> CATEGORIES= math >> >> HOMEPAGE= http://www.fftw.org/ >> @@ -40,7 +42,8 @@ >> USE_GROFF = Yes >> CONFIGURE_STYLE=gnu >> CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ >> - --enable-portable-binary >> + --enable-portable-binary \ >> + --enable-threads > > this adds -pthread everywhere and records libpthread as NEEDED in the main > library as well. > maybe bump all the libraries to be safe?
I think so. I'll take a look. > tests have no errors on i386. >