On Sun, 18 Jan 2009, Gerald Pfeifer wrote:
> the following ports contain snippets along the lines of
> 
>   CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}
> 
> These are no longer necessary after recent improvement I have made to
> the Mk/bsd.gcc.mk infrastructure related to the USE_FORTRAN knob.
> 
> Please update your ports removing these.

To provide a concrete example, in the case of science/dcl, something
like the following would move into the right direction (untested):

Gerald

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/science/dcl/Makefile,v
retrieving revision 1.8
diff -u -3 -p -r1.8 Makefile
--- Makefile    26 Sep 2008 08:54:21 -0000      1.8
+++ Makefile    18 Jan 2009 05:44:19 -0000
@@ -20,10 +20,7 @@ USE_XORG=    x11 xext
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS=        --prefix=${PREFIX} --disable-gtk2 --disable-gtk --with-x
 
-WANT_FORTRAN=  yes #dummy but future use
-BUILD_DEPENDS+=        gfortran42:${PORTSDIR}/lang/gcc42
-FC=            gfortran42
-CONFIGURE_ENV+=        FC="${FC}" FFLAGS="${FFLAGS}"
+USE_FORTRAN=   yes
 
 DOCFILES=      CHECK CREDITS HISTORY README README_clrmap README_gt2dlib \
                README_itr51 README_pslib README_umfmap
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to