diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-12-16 09:32:21 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-12-16 09:32:21 +0000 |
commit | 5de6d77527e760ef29c96a1830ce6ff2f3095588 (patch) | |
tree | ef63a78f355d6a930b2f18a48fac447e50579028 /lang/gcc | |
parent | New port: net/c3270 - to replace net/tn3270 - Full-screen curses-based (diff) |
Adding knob WITH_FORTRAN.
Now we have GNU Fortran 90/95 compiler
with this knob.
PR: 74187
Approved by: gerald (maintainer)
Notes
Notes:
svn path=/head/; revision=124194
Diffstat (limited to 'lang/gcc')
-rw-r--r-- | lang/gcc/Makefile | 14 | ||||
-rw-r--r-- | lang/gcc/distinfo | 2 | ||||
-rw-r--r-- | lang/gcc/pkg-plist | 5 |
3 files changed, 20 insertions, 1 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index b59ac0d7e416..a343e0873d58 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/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) diff --git a/lang/gcc/distinfo b/lang/gcc/distinfo index d0f3b2ea6ae1..7346890760d5 100644 --- a/lang/gcc/distinfo +++ b/lang/gcc/distinfo @@ -1,5 +1,7 @@ MD5 (gcc-core-4.0-20041205.tar.bz2) = 436e5895296f777e6b59671b2c8d1f97 SIZE (gcc-core-4.0-20041205.tar.bz2) = 12827743 +MD5 (gcc-fortran-4.0-20041205.tar.bz2) = 3bea4e983c34ac7b7deaed3ce01e25fa +SIZE (gcc-fortran-4.0-20041205.tar.bz2) = 549290 MD5 (gcc-g++-4.0-20041205.tar.bz2) = e7d5409d6f041b6ba26a3d52bc6bf293 SIZE (gcc-g++-4.0-20041205.tar.bz2) = 2567216 MD5 (gcc-java-4.0-20041205.tar.bz2) = abf489ad81b789f70863a6a57a95a945 diff --git a/lang/gcc/pkg-plist b/lang/gcc/pkg-plist index aa0121de78ef..ffbc17b1165d 100644 --- a/lang/gcc/pkg-plist +++ b/lang/gcc/pkg-plist @@ -5,6 +5,11 @@ bin/fastjar40 bin/g++40 bin/gcc40 bin/gcov40 +%%FORTRAN%%bin/gfortran40 +%%FORTRAN%%lib/libgfortran.a +%%FORTRAN%%lib/libgfortranbegin.a +%%FORTRAN%%lib/libgfortran.la +%%FORTRAN%%lib/libgfortranbegin.la bin/%%GNU_HOST%%-c++40 bin/%%GNU_HOST%%-gcc-%%GCC_VER%% bin/%%GNU_HOST%%-gcc40 |