- add slave port for Single Percision Fix: -- Begin math-fftw.patch -- -- End math-fftw.patch -- -- Begin math-fftw-float.shar -- -- End math-fftw-float.shar ----3Pwp9w9U0LtkpDS7Bi0pQYgim5V4RuLDOf00VBaVU1tHbGhs Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" Index: Makefile =================================================================== RCS file: /usr/opt/cvs/freebsd-src/ports/math/fftw/Makefile,v retrieving revision 1.18 diff -u -r1.18 Makefile --- Makefile 9 Jul 2004 17:42:33 -0000 1.18 +++ Makefile 2 Sep 2004 04:58:56 -0000 @@ -7,36 +7,52 @@ PORTNAME= fftw PORTVERSION= 2.1.5 -PORTREVISION= 2 +PORTREVISION?= 3 CATEGORIES= math MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \ ftp://ftp.fftw.org/pub/fftw/old/ \ ftp://theory.lcs.mit.edu/pub/fftw/ \ ftp://pm.cse.rmit.edu.au/pub/dsp/fftw/ +PKGNAMESUFFIX= ${FFTW_PKGNAMESUFFIX} -MAINTAINER= Lars.Koeller@Uni-Bielefeld.DE -COMMENT= Fast C routines to compute the Discrete Fourier Transform +MAINTAINER?= Lars.Koeller@Uni-Bielefeld.DE +COMMENT?= Fast C routines to compute the Discrete Fourier Transform +# current flavors: default, float +FFTW_FLAVOR?= default +FFTW_SUFIX= + +USE_REINPLACE= yes USE_GMAKE= yes USE_INC_LIBTOOL_VER=13 CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" -CONFIGURE_ARGS= --enable-shared +CONFIGURE_ARGS+= --enable-shared INSTALLS_SHLIB= yes .include <bsd.port.pre.mk> +.if ${FFTW_FLAVOR}!="default" +INSTALL_TARGET= install-exec +.endif + +.if ${FFTW_FLAVOR}=="float" +CONFIGURE_ARGS+= --enable-float --enable-type-prefix +FFTW_SUFX= f +FFTW_PKGNAMESUFFIX= -float +.endif + .if ${ARCH} == "i386" CONFIGURE_ARGS+= --enable-i386-hacks .endif -post-extract: +post-patch: @${RM} ${WRKSRC}/doc/fftw.info* post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/fftw.ps ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/fftw.ps ${DOCSDIR}/fftw${FFTW_SUFX}.ps .endif .include <bsd.port.post.mk>
Responsible Changed From-To: freebsd-ports-bugs->ahze Handle
Dear Maintainer, Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/71272 Do you approve or disapprove of this patch? Michael
State Changed From-To: open->feedback Asked maintainer for feedback
---------- In reply to mike johnson who wrote: =20 > Dear Maintainer, > =09Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/71= 272 > Do you approve or disapprove of this patch? Yes, but it should be added an OPTION line where it is possible to se= t=20 the FFTW_FLAVOR. This has the great advantage of persistence and one can automatically= =20 update the ports. Regards Lars --=20 Lars K=F6ller \ Raum : V0-318 (Tel: 4964) Leitung Systeme \ E-Mail : Lars.Koeller@Uni-Bielefeld.DE und Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.h= tml ----------- FreeBSD, what else? ---- http://www.de.freebsd.org ------= ---
FFTW_FLAVOR will be defined by the new port math/fftw-float so you don't need both.. See math/fftw3 math/fftw3-float math/fftw3-long for an example on how this works Michael On Nov 10, 2004, at 2:34 AM, Lars Köller wrote: > ---------- > > In reply to mike johnson who wrote: > >> Dear Maintainer, >> Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/71272 >> Do you approve or disapprove of this patch? > > Yes, but it should be added an OPTION line where it is possible to set > the FFTW_FLAVOR. > > This has the great advantage of persistence and one can automatically > update the ports. > > Regards > > Lars > > -- > Lars Köller \ Raum : V0-318 (Tel: 4964) > Leitung Systeme \ E-Mail : Lars.Koeller@Uni-Bielefeld.DE > und Serverdienste \ PGP-Key: > http://www.uk.pgp.net/pgpnet/wwwkeys.html > ----------- FreeBSD, what else? ---- http://www.de.freebsd.org > --------- >
State Changed From-To: feedback->closed Committed