summaryrefslogtreecommitdiffstats
path: root/lang/ghc/Makefile
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-03-04 13:50:17 +0000
committerjedgar <jedgar@FreeBSD.org>2000-03-04 13:50:17 +0000
commit7872a94834f989d4c16bc9ce3f8f35df59ebd9cf (patch)
tree38c641f5b4f2d88c8120803fa55dd25a4c674ab0 /lang/ghc/Makefile
parentdf54be73eec555d0fb1d8cfe777f3c0dc1bbfd93 (diff)
downloadFreeBSD-ports-7872a94834f989d4c16bc9ce3f8f35df59ebd9cf.zip
FreeBSD-ports-7872a94834f989d4c16bc9ce3f8f35df59ebd9cf.tar.gz
Update port to 4.06
PR: 17115 Submitted by: Maintainer
Diffstat (limited to 'lang/ghc/Makefile')
-rw-r--r--lang/ghc/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 9bce470..7849a0b 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -1,14 +1,14 @@
# New ports collection makefile for: ghc
-# Version required: 4.04
+# Version required: 4.06
# Date created: 28 August 1999
# Whom: Simon Marlow <simonmar@microsoft.com>
#
# $FreeBSD$
-DISTNAME= ghc-4.04
+DISTNAME= ghc-4.06
CATEGORIES= lang
-MASTER_SITES= http://www.haskell.org/ghc/dist/4.04/
-DISTFILES= ghc-4.04-src${EXTRACT_SUFX} ghc-4.04-x86-hc${EXTRACT_SUFX}
+MASTER_SITES= http://www.haskell.org/ghc/dist/4.06/
+DISTFILES= ghc-4.06-src${EXTRACT_SUFX} ghc-4.06-x86-hc${EXTRACT_SUFX}
MAINTAINER= simonmar@microsoft.com
@@ -17,6 +17,8 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-hc-boot --libdir=${PREFIX}/lib/ghc
+# specifying CONFIGURE_TARGET doesn't work for some reason.
+CONFIGURE_TARGET=
WRKSRC= ${WRKDIR}/fptools
@@ -32,10 +34,13 @@ pre-build:
@${CP} ${FILESDIR}/build.mk ${WRKSRC}/mk
@${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/ghc/compiler/rename/ParseIface.hs
@${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/ghc/compiler/parser/Parser.hs
- @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} boot)
+ @(cd ${WRKSRC}/glafp-utils; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} boot)
+ @(cd ${WRKSRC}/ghc; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} boot)
+ @(cd ${WRKSRC}/hslibs; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} boot)
post-build:
@echo "GhcWithHscBuiltViaC=NO" >>${WRKSRC}/mk/build.mk
@(cd ${WRKSRC}/ghc/lib; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} clean boot all)
+ @(cd ${WRKSRC}/hslibs; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} clean boot all)
.include <bsd.port.mk>
OpenPOWER on IntegriCloud