mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Now we use USE_FORTRAN=yes to use FORTRAN compiler.
This commit is contained in:
parent
2f93b8a690
commit
9cfd2bb219
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195447
@ -19,10 +19,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
WANT_FORTRAN= yes #dummy but future use
|
||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
||||
FC= gfortran42
|
||||
F77= gfortran42
|
||||
USE_FORTRAN= yes
|
||||
|
||||
LIB_DEPENDS+= f2c.2:${PORTSDIR}/lang/f2c
|
||||
ALL_TARGET= shared
|
||||
|
@ -27,11 +27,7 @@ MAKEFILE= ${WRKSRC}/makefile
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
WANT_FORTRAN= yes #dummy but future use
|
||||
BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42
|
||||
FC= gfortran42
|
||||
F77= gfortran42
|
||||
MAKE_ENV+= FC="${FC}" F77="${77}"
|
||||
USE_FORTRAN= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/xwin.c
|
||||
|
Loading…
Reference in New Issue
Block a user