From 204d77aaaf37160523c9dca4a74b86725eeeb345 Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 2 Mar 2005 08:46:01 +0000 Subject: portlint. --- lang/gcc43/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lang/gcc43') diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile index 544b785..e4e3d62 100644 --- a/lang/gcc43/Makefile +++ b/lang/gcc43/Makefile @@ -22,11 +22,16 @@ DISTFILES= \ .if defined(WITH_FORTRAN) DISTFILES+= gcc-fortran-${VERSIONSTRING}${EXTRACT_SUFX} .endif + MAINTAINER?= gerald@FreeBSD.org COMMENT?= GNU Compiler Collection 4.0 LATEST_LINK?= gcc40${PKGNAMESUFFIX} +.if defined(WITH_FORTRAN) +LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 +.endif + USE_BISON= yes USE_BZIP2= yes USE_GMAKE= yes @@ -61,6 +66,9 @@ CONFIGURE_ARGS= --disable-nls \ --with-libiconv-prefix=${LOCALBASE} \ --program-suffix=${SUFFIX} \ --with-gxx-include-dir=${TARGLIB}/include/c++/ +.if defined(WITH_FORTRAN) +CONFIGURE_ARGS+= --with-gmp=${LOCALBASE} +.endif MAKE_ARGS+= MAKEINFOFLAGS="--no-split" .if defined(WANT_SHAREDLIBS) CONFIGURE_ARGS+= --enable-shared @@ -99,8 +107,6 @@ 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="" -- cgit v1.1