diff options
Diffstat (limited to 'lang/gcc44/Makefile')
-rw-r--r-- | lang/gcc44/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile index b59ac0d7e41..a343e0873d5 100644 --- a/lang/gcc44/Makefile +++ b/lang/gcc44/Makefile @@ -19,7 +19,9 @@ DISTFILES= \ gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} \ gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX} \ gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX} - +.if defined(WITH_FORTRAN) +DISTFILES+= gcc-fortran-${VERSIONSTRING}${EXTRACT_SUFX} +.endif MAINTAINER?= gerald@FreeBSD.org COMMENT?= GNU Compiler Collection 4.0 @@ -95,6 +97,16 @@ PLIST_SUB+= LIBJAVA="@comment " PLIST_SUB+= LIBJAVA="" .endif +.if defined(WITH_FORTRAN) +LIB_DEPENDS+= gmp.6:${PORTSDIR}/math/libgmp4 +CONFIGURE_ARGS+= --with-gmp=${LOCALBASE} +MAN1+= gfortran${SUFFIX}.1 +INFO+= gfortran +PLIST_SUB+= FORTRAN="" +.else +PLIST_SUB+= FORTRAN="@comment " +.endif + pre-everything:: @${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}" .if defined(WITHOUT_LIBJAVA) |