diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2015-08-31 05:39:41 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2015-08-31 05:39:41 +0000 |
commit | 9118d1aee1de63afd0bc53a520837942567240b4 (patch) | |
tree | 18769d317b8ad88b84983cc131eb25996871b054 /lang | |
parent | 86ecf55589120a9af84d9ff6d16d2b759d90a178 (diff) | |
download | ports-9118d1aee1de63afd0bc53a520837942567240b4.tar.gz ports-9118d1aee1de63afd0bc53a520837942567240b4.zip |
Notes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ghc/Makefile | 3 | ||||
-rw-r--r-- | lang/ghc/bsd.cabal.mk | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index 95106dc9cac9..b6166458f47c 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -29,9 +29,8 @@ CONFLICTS= ghc-7.4.* ghc-7.6.* ghc-7.8.* LIB_DEPENDS+= libgmp.so:${PORTSDIR}/math/gmp -USE_AUTOTOOLS= autoconf autoheader USE_PERL5= build -USES= gmake iconv:translit ncurses perl5 tar:xz +USES= autoreconf gmake iconv:translit ncurses perl5 tar:xz MAKE_ENV+= LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 # This is needed on FreeBSD 9.x due to the bootstrap tarball. diff --git a/lang/ghc/bsd.cabal.mk b/lang/ghc/bsd.cabal.mk index fae7bb72ae9c..a9d6ef14ff2a 100644 --- a/lang/ghc/bsd.cabal.mk +++ b/lang/ghc/bsd.cabal.mk @@ -9,13 +9,16 @@ # Maintained by: haskell@FreeBSD.org # -.if !defined(METAPORT) +.if !defined(METAPORT) && !defined(USE_GITHUB) MASTER_SITES?= http://hackage.haskell.org/package/${PORTNAME}-${PORTVERSION}/:hackage DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}:hackage -DIST_SUBDIR?= cabal EXTRACT_ONLY?= ${DISTNAME}${EXTRACT_SUFX} -.else +.endif + +.if defined(METAPORT) USES+= metaport +.else +DIST_SUBDIR?= cabal .endif # !METAPORT MAKE_ENV+= LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 DESTDIR=${STAGEDIR} \ |