aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ghc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/Makefile8
-rw-r--r--lang/ghc/bsd.cabal.mk8
2 files changed, 5 insertions, 11 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 68c463580321..9e763ff52093 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -12,6 +12,9 @@ DISTFILES= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source
MAINTAINER= haskell@FreeBSD.org
COMMENT= Compiler for the functional language Haskell
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
ONLY_FOR_ARCHS= i386 amd64
MAKE_JOBS_NUMBER_LIMIT= 4
@@ -28,13 +31,10 @@ LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp
USE_AUTOTOOLS= autoconf autoheader
USE_PERL5= build
-USES= gmake iconv:translit perl5 ncurses tar:bzip2
+USES= gmake iconv:translit ncurses perl5 tar:bzip2
USE_BINUTILS= yes
USE_GCC= yes
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
MAKE_ENV= LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
# The configure process accepts,filters and canonicalises
diff --git a/lang/ghc/bsd.cabal.mk b/lang/ghc/bsd.cabal.mk
index 54a829aea9cd..7b9188422ecb 100644
--- a/lang/ghc/bsd.cabal.mk
+++ b/lang/ghc/bsd.cabal.mk
@@ -13,13 +13,7 @@
MASTER_SITES?= http://hackage.haskell.org/package/${PORTNAME}-${PORTVERSION}/
DIST_SUBDIR?= cabal
.else
-MASTER_SITES= # empty
-DISTFILES= # empty
-EXTRACT_ONLY= # empty
-NO_FETCH= yes
-NO_BUILD= yes
-NO_INSTALL= yes
-NO_MTREE= yes
+USES+= metaport
.endif # !METAPORT
MAKE_ENV+= LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 DESTDIR=${STAGEDIR} \