Re: math/grace fix FLAVORS
Am 02.05.19 um 13:44 schrieb Martin Reindl: > On Thu, May 02, 2019 at 12:39:36PM +0100, Stuart Henderson wrote: >> On 2019/05/02 13:36, Martin Reindl wrote: >>> Hello ports, >>> >>> for math/grace, the three available FLAVORS are not enabled in the >>> Makefile. Because >>> fftw can be used on netcdf data, I suggest removing these flavors >>> altogether and >>> only keeping the no_x11. >>> >>> -m >>> >>> > [...] >>> FLAVORS= no_x11 fftw netcdf >> >> They need removing here ^^ as well, and also in pkg/DESCR. >> > > > Index: Makefile > === > RCS file: /cvs/ports/math/Makefile,v > retrieving revision 1.158 > diff -u -p -u -p -r1.158 Makefile > --- Makefile 4 Mar 2019 12:51:15 - 1.158 > +++ Makefile 2 May 2019 11:41:09 - > @@ -33,6 +33,7 @@ > SUBDIR += gnuplot > SUBDIR += gnuplot,no_x11 > SUBDIR += grace > + SUBDIR += grace,no_x11 > SUBDIR += graphviz > SUBDIR += grpn > SUBDIR += gunits > Index: grace/Makefile > === > RCS file: /cvs/ports/math/grace/Makefile,v > retrieving revision 1.44 > diff -u -p -u -p -r1.44 Makefile > --- grace/Makefile23 Jun 2018 19:53:36 - 1.44 > +++ grace/Makefile2 May 2019 11:41:09 - > @@ -3,7 +3,7 @@ > COMMENT= GRaphing, Advanced Computation and Exploration of data > > DISTNAME=grace-5.1.15 > -REVISION=8 > +REVISION=9 > CATEGORIES= math > > HOMEPAGE=http://plasma-gate.weizmann.ac.il/Grace/ > @@ -22,16 +22,22 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/ac-t > CONFIGURE_ARGS+= --with-bundled-xbae \ > --with-extra-incpath=${LOCALBASE}/include \ > --with-extra-ldpath=${LOCALBASE}/lib \ > + --with-fftw \ > + --enable-netcdf \ > --enable-grace-home=${PREFIX}/grace > > -LIB_DEPENDS =graphics/jpeg \ > +LIB_DEPENDS =devel/t1lib \ > + graphics/jpeg \ > graphics/png \ > - devel/t1lib \ > graphics/tiff \ > + math/fftw \ > + math/netcdf \ > print/pdflib > -WANTLIB += jpeg>=62 png>=2 t1>=5 tiff>=35 pdf>=2 > > -FLAVORS= no_x11 fftw netcdf > +WANTLIB += jpeg>=62 png>=2 pdf>=2 t1>=5 tiff>=35 fftw>=2 \ > + netcdf>=1 > + > +FLAVORS= no_x11 > FLAVOR?= > > .if ${FLAVOR:Mno_x11} > @@ -43,22 +49,6 @@ LIB_DEPENDS+= x11/motif > WANTLIB+=ICE SM X11 Xext Xmu Xpm Xt Xm > MAKE_ENV+= MOTIFLIB='-L${LOCALBASE}/lib -lXm' > CONFIGURE_ENV= LDFLAGS=-lm > -.endif > - > -.if ${FLAVOR:Mfftw} > -LIB_DEPENDS += math/fftw > -WANTLIB += fftw>=2 > -CONFIGURE_ARGS+= --with-fftw > -.else > -CONFIGURE_ARGS+= --without-fftw > -.endif > - > -.if ${FLAVOR:Mnetcdf} > -LIB_DEPENDS += math/netcdf > -WANTLIB += netcdf>=1 > -CONFIGURE_ARGS+= --enable-netcdf > -.else > -CONFIGURE_ARGS+= --disable-netcdf > .endif > > GRACE_DIR=${TRUEPREFIX}/grace > Index: grace/pkg/DESCR > === > RCS file: /cvs/ports/math/grace/pkg/DESCR,v > retrieving revision 1.4 > diff -u -p -u -p -r1.4 DESCR > --- grace/pkg/DESCR 29 May 2013 20:46:25 - 1.4 > +++ grace/pkg/DESCR 2 May 2019 11:41:09 - > @@ -9,5 +9,3 @@ or perform automated tasks. > > Flavors: > no_x11 - build command line tool only, no gui > -fftw - use math/fftw for optimized FFT > -netcdf - use math/netcdf for network common data form support > Note, flavors were not built since 2001 when this was first imported. And while 5.1.25 has been released a few years ago it needs a newer version of pdflib. -m
Re: math/grace fix FLAVORS
On Thu, May 02, 2019 at 12:39:36PM +0100, Stuart Henderson wrote: > On 2019/05/02 13:36, Martin Reindl wrote: > > Hello ports, > > > > for math/grace, the three available FLAVORS are not enabled in the > > Makefile. Because > > fftw can be used on netcdf data, I suggest removing these flavors > > altogether and > > only keeping the no_x11. > > > > -m > > > > [...] > > FLAVORS= no_x11 fftw netcdf > > They need removing here ^^ as well, and also in pkg/DESCR. > Index: Makefile === RCS file: /cvs/ports/math/Makefile,v retrieving revision 1.158 diff -u -p -u -p -r1.158 Makefile --- Makefile4 Mar 2019 12:51:15 - 1.158 +++ Makefile2 May 2019 11:41:09 - @@ -33,6 +33,7 @@ SUBDIR += gnuplot SUBDIR += gnuplot,no_x11 SUBDIR += grace + SUBDIR += grace,no_x11 SUBDIR += graphviz SUBDIR += grpn SUBDIR += gunits Index: grace/Makefile === RCS file: /cvs/ports/math/grace/Makefile,v retrieving revision 1.44 diff -u -p -u -p -r1.44 Makefile --- grace/Makefile 23 Jun 2018 19:53:36 - 1.44 +++ grace/Makefile 2 May 2019 11:41:09 - @@ -3,7 +3,7 @@ COMMENT= GRaphing, Advanced Computation and Exploration of data DISTNAME= grace-5.1.15 -REVISION= 8 +REVISION= 9 CATEGORIES=math HOMEPAGE= http://plasma-gate.weizmann.ac.il/Grace/ @@ -22,16 +22,22 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/ac-t CONFIGURE_ARGS+= --with-bundled-xbae \ --with-extra-incpath=${LOCALBASE}/include \ --with-extra-ldpath=${LOCALBASE}/lib \ + --with-fftw \ + --enable-netcdf \ --enable-grace-home=${PREFIX}/grace -LIB_DEPENDS = graphics/jpeg \ +LIB_DEPENDS = devel/t1lib \ + graphics/jpeg \ graphics/png \ - devel/t1lib \ graphics/tiff \ + math/fftw \ + math/netcdf \ print/pdflib -WANTLIB += jpeg>=62 png>=2 t1>=5 tiff>=35 pdf>=2 -FLAVORS= no_x11 fftw netcdf +WANTLIB += jpeg>=62 png>=2 pdf>=2 t1>=5 tiff>=35 fftw>=2 \ + netcdf>=1 + +FLAVORS= no_x11 FLAVOR?= .if ${FLAVOR:Mno_x11} @@ -43,22 +49,6 @@ LIB_DEPENDS+=x11/motif WANTLIB+= ICE SM X11 Xext Xmu Xpm Xt Xm MAKE_ENV+= MOTIFLIB='-L${LOCALBASE}/lib -lXm' CONFIGURE_ENV= LDFLAGS=-lm -.endif - -.if ${FLAVOR:Mfftw} -LIB_DEPENDS += math/fftw -WANTLIB += fftw>=2 -CONFIGURE_ARGS+= --with-fftw -.else -CONFIGURE_ARGS+= --without-fftw -.endif - -.if ${FLAVOR:Mnetcdf} -LIB_DEPENDS += math/netcdf -WANTLIB += netcdf>=1 -CONFIGURE_ARGS+= --enable-netcdf -.else -CONFIGURE_ARGS+= --disable-netcdf .endif GRACE_DIR=${TRUEPREFIX}/grace Index: grace/pkg/DESCR === RCS file: /cvs/ports/math/grace/pkg/DESCR,v retrieving revision 1.4 diff -u -p -u -p -r1.4 DESCR --- grace/pkg/DESCR 29 May 2013 20:46:25 - 1.4 +++ grace/pkg/DESCR 2 May 2019 11:41:09 - @@ -9,5 +9,3 @@ or perform automated tasks. Flavors: no_x11 - build command line tool only, no gui -fftw - use math/fftw for optimized FFT -netcdf - use math/netcdf for network common data form support
Re: math/grace fix FLAVORS
On 2019/05/02 13:36, Martin Reindl wrote: > Hello ports, > > for math/grace, the three available FLAVORS are not enabled in the Makefile. > Because > fftw can be used on netcdf data, I suggest removing these flavors altogether > and > only keeping the no_x11. > > -m > > > Index: Makefile > === > RCS file: /cvs/ports/math/Makefile,v > retrieving revision 1.158 > diff -u -p -u -p -r1.158 Makefile > --- Makefile 4 Mar 2019 12:51:15 - 1.158 > +++ Makefile 2 May 2019 11:22:43 - > @@ -33,6 +33,7 @@ > SUBDIR += gnuplot > SUBDIR += gnuplot,no_x11 > SUBDIR += grace > + SUBDIR += grace,no_x11 > SUBDIR += graphviz > SUBDIR += grpn > SUBDIR += gunits > Index: grace/Makefile > === > RCS file: /cvs/ports/math/grace/Makefile,v > retrieving revision 1.44 > diff -u -p -u -p -r1.44 Makefile > --- grace/Makefile23 Jun 2018 19:53:36 - 1.44 > +++ grace/Makefile2 May 2019 11:22:43 - > @@ -3,7 +3,7 @@ > COMMENT= GRaphing, Advanced Computation and Exploration of data > > DISTNAME=grace-5.1.15 > -REVISION=8 > +REVISION=9 > CATEGORIES= math > > HOMEPAGE=http://plasma-gate.weizmann.ac.il/Grace/ > @@ -22,14 +22,20 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/ac-t > CONFIGURE_ARGS+= --with-bundled-xbae \ > --with-extra-incpath=${LOCALBASE}/include \ > --with-extra-ldpath=${LOCALBASE}/lib \ > + --with-fftw \ > + --enable-netcdf \ > --enable-grace-home=${PREFIX}/grace > > -LIB_DEPENDS =graphics/jpeg \ > +LIB_DEPENDS =devel/t1lib \ > + graphics/jpeg \ > graphics/png \ > - devel/t1lib \ > graphics/tiff \ > + math/fftw \ > + math/netcdf \ > print/pdflib > -WANTLIB += jpeg>=62 png>=2 t1>=5 tiff>=35 pdf>=2 > + > +WANTLIB += jpeg>=62 png>=2 pdf>=2 t1>=5 tiff>=35 fftw>=2 \ > + netcdf>=1 > > FLAVORS= no_x11 fftw netcdf They need removing here ^^ as well, and also in pkg/DESCR. > FLAVOR?= > @@ -43,22 +49,6 @@ LIB_DEPENDS+= x11/motif > WANTLIB+=ICE SM X11 Xext Xmu Xpm Xt Xm > MAKE_ENV+= MOTIFLIB='-L${LOCALBASE}/lib -lXm' > CONFIGURE_ENV= LDFLAGS=-lm > -.endif > - > -.if ${FLAVOR:Mfftw} > -LIB_DEPENDS += math/fftw > -WANTLIB += fftw>=2 > -CONFIGURE_ARGS+= --with-fftw > -.else > -CONFIGURE_ARGS+= --without-fftw > -.endif > - > -.if ${FLAVOR:Mnetcdf} > -LIB_DEPENDS += math/netcdf > -WANTLIB += netcdf>=1 > -CONFIGURE_ARGS+= --enable-netcdf > -.else > -CONFIGURE_ARGS+= --disable-netcdf > .endif > > GRACE_DIR=${TRUEPREFIX}/grace >
math/grace fix FLAVORS
Hello ports, for math/grace, the three available FLAVORS are not enabled in the Makefile. Because fftw can be used on netcdf data, I suggest removing these flavors altogether and only keeping the no_x11. -m Index: Makefile === RCS file: /cvs/ports/math/Makefile,v retrieving revision 1.158 diff -u -p -u -p -r1.158 Makefile --- Makefile4 Mar 2019 12:51:15 - 1.158 +++ Makefile2 May 2019 11:22:43 - @@ -33,6 +33,7 @@ SUBDIR += gnuplot SUBDIR += gnuplot,no_x11 SUBDIR += grace + SUBDIR += grace,no_x11 SUBDIR += graphviz SUBDIR += grpn SUBDIR += gunits Index: grace/Makefile === RCS file: /cvs/ports/math/grace/Makefile,v retrieving revision 1.44 diff -u -p -u -p -r1.44 Makefile --- grace/Makefile 23 Jun 2018 19:53:36 - 1.44 +++ grace/Makefile 2 May 2019 11:22:43 - @@ -3,7 +3,7 @@ COMMENT= GRaphing, Advanced Computation and Exploration of data DISTNAME= grace-5.1.15 -REVISION= 8 +REVISION= 9 CATEGORIES=math HOMEPAGE= http://plasma-gate.weizmann.ac.il/Grace/ @@ -22,14 +22,20 @@ MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/ac-t CONFIGURE_ARGS+= --with-bundled-xbae \ --with-extra-incpath=${LOCALBASE}/include \ --with-extra-ldpath=${LOCALBASE}/lib \ + --with-fftw \ + --enable-netcdf \ --enable-grace-home=${PREFIX}/grace -LIB_DEPENDS = graphics/jpeg \ +LIB_DEPENDS = devel/t1lib \ + graphics/jpeg \ graphics/png \ - devel/t1lib \ graphics/tiff \ + math/fftw \ + math/netcdf \ print/pdflib -WANTLIB += jpeg>=62 png>=2 t1>=5 tiff>=35 pdf>=2 + +WANTLIB += jpeg>=62 png>=2 pdf>=2 t1>=5 tiff>=35 fftw>=2 \ + netcdf>=1 FLAVORS= no_x11 fftw netcdf FLAVOR?= @@ -43,22 +49,6 @@ LIB_DEPENDS+=x11/motif WANTLIB+= ICE SM X11 Xext Xmu Xpm Xt Xm MAKE_ENV+= MOTIFLIB='-L${LOCALBASE}/lib -lXm' CONFIGURE_ENV= LDFLAGS=-lm -.endif - -.if ${FLAVOR:Mfftw} -LIB_DEPENDS += math/fftw -WANTLIB += fftw>=2 -CONFIGURE_ARGS+= --with-fftw -.else -CONFIGURE_ARGS+= --without-fftw -.endif - -.if ${FLAVOR:Mnetcdf} -LIB_DEPENDS += math/netcdf -WANTLIB += netcdf>=1 -CONFIGURE_ARGS+= --enable-netcdf -.else -CONFIGURE_ARGS+= --disable-netcdf .endif GRACE_DIR=${TRUEPREFIX}/grace