diff options
author | maho <maho@FreeBSD.org> | 2004-12-16 17:32:21 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2004-12-16 17:32:21 +0800 |
commit | ef7a288b3b9c96184e4d20ff76b06294b37b4afe (patch) | |
tree | a3937e416899d38f5faf0be6017cc1719090ba0d /lang/gcc44/Makefile | |
parent | 7b6c45c47237917d066fbfeab492a99a78e57d11 (diff) | |
download | freebsd-ports-gnome-ef7a288b3b9c96184e4d20ff76b06294b37b4afe.tar.gz freebsd-ports-gnome-ef7a288b3b9c96184e4d20ff76b06294b37b4afe.tar.zst freebsd-ports-gnome-ef7a288b3b9c96184e4d20ff76b06294b37b4afe.zip |
Adding knob WITH_FORTRAN.
Now we have GNU Fortran 90/95 compiler
with this knob.
PR: 74187
Approved by: gerald (maintainer)
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 b59ac0d7e416..a343e0873d58 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) |