From 564a799c7173c288d4d3a9be78ac3d2db983d512 Mon Sep 17 00:00:00 2001 From: Tijl Coosemans Date: Sun, 16 Feb 2014 17:15:31 +0000 Subject: Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases USE_GCC=yes has been omitted though. Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk. Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,... Exp-run: bdrewery Approved by: portmgr (bdrewery) --- science/psi3/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'science/psi3/Makefile') diff --git a/science/psi3/Makefile b/science/psi3/Makefile index b684c1ed9364..2159c78cea71 100644 --- a/science/psi3/Makefile +++ b/science/psi3/Makefile @@ -3,7 +3,7 @@ PORTNAME= psi3 PORTVERSION= 3.4.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MASTER_SITES= SF/psicode/psi/${PORTVERSION} \ http://www.psicode.org/doc/:doc \ @@ -45,17 +45,18 @@ LAPACK= -lalapack -lptcblas USE_BZIP2= yes GNU_CONFIGURE= yes -USE_GMAKE= yes -USE_FORTRAN= yes +USES= fortran gmake CONFIGURE_ARGS= --with-cc=${CC} \ --with-cxx=${CXX} \ --with-fc=${FC} \ + --with-opt="${CFLAGS}" \ --with-lapack="${LAPACK}" \ --with-blas="${BLAS}" \ --datadir=${PREFIX}/share/psi3 \ --docdir=${WRKSRC}/tmpdoc/ \ --with-libdirs="-L${LOCALBASE}/lib" \ --with-libs="-lcompat" +CFLAGS+= -Wno-error=return-type NO_STAGE= yes .include -- cgit v1.2.3