aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2015-08-10 15:32:19 +0000
committerGabor Pali <pgj@FreeBSD.org>2015-08-10 15:32:19 +0000
commitabf6d8422d2a15caf47faede5862968d47b81c9e (patch)
treee45db0717cefd4fe26c73a39f99cbc9588f3aa98 /lang
parent94efdc08d55bb0cd02cd90099f46bbe200f0936b (diff)
downloadports-abf6d8422d2a15caf47faede5862968d47b81c9e.tar.gz
ports-abf6d8422d2a15caf47faede5862968d47b81c9e.zip
Notes
Diffstat (limited to 'lang')
-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} \