summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--science/dft++/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/science/dft++/Makefile b/science/dft++/Makefile
index 27bd4221e746..89860f795030 100644
--- a/science/dft++/Makefile
+++ b/science/dft++/Makefile
@@ -21,20 +21,19 @@ EXTRACT_ONLY= ${PORTNAME}.v${PORTVERSION}.tar.gz
MAINTAINER= maho@FreeBSD.org
COMMENT= DFT++, A density functional software
-LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
+.include <bsd.port.pre.mk>
+LIB_DEPENDS+= fftw.2:${PORTSDIR}/math/fftw
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
WANT_FORTRAN=yes #dummy but future use
-BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
+BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
FC= gfortran42
F77= gfortran42
FORTRANLIBS= -lgfortranbegin -lgfortran
GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
-.include <bsd.port.pre.mk>
-
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
.endif