mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
0a5ddd3420
Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)). PR: 246700 Approved by: maintainer
43 lines
979 B
Makefile
43 lines
979 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= siesta
|
|
DISTVERSION= 4.0.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= science
|
|
MASTER_SITES= https://launchpad.net/${PORTNAME}/${DISTVERSION:R}/${DISTVERSION}/+download/
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Program to perform efficient electronic structure calculations
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/../COPYING
|
|
|
|
LIB_DEPENDS= libblas.so:math/blas \
|
|
liblapack.so:math/lapack
|
|
|
|
USES= fortran gmake localbase:ldflags
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ../Src/configure
|
|
ALL_TARGET= default
|
|
|
|
WRKSRC_SUBDIR= Obj
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${GCC_DEFAULT} >= 10
|
|
# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).
|
|
FCFLAGS+= -fallow-argument-mismatch
|
|
.endif
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} ../Src/obj_setup.sh
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|