Update to 6.8.2.
This commit is contained in:
parent
2aed1e3135
commit
db5db8b1f9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=204705
@ -5,13 +5,11 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ghc
|
||||
PORTVERSION= 6.6.1
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 6.8.2
|
||||
CATEGORIES= lang haskell
|
||||
MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
|
||||
http://www.haskell.org/ghc/dist/${PORTVERSION}/FreeBSD/:boot \
|
||||
${MASTER_SITE_LOCAL:S/$/:boot/}
|
||||
MASTER_SITE_SUBDIR=vs/ghcdist/${PORTVERSION}/:boot
|
||||
DISTFILES= ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source \
|
||||
ghc-${PORTVERSION}-src-extralibs${EXTRACT_SUFX}:source
|
||||
|
||||
@ -20,13 +18,11 @@ COMMENT= A Compiler for the functional language Haskell
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
BOOT_DIST4= ghc-${PORTVERSION}-i386-unknown-freebsd4-boot${EXTRACT_SUFX}:boot
|
||||
BOOT_DIST5= ghc-${PORTVERSION}-i386-unknown-freebsd5-boot${EXTRACT_SUFX}:boot
|
||||
BOOT_DIST= ghc-${PORTVERSION}-i386-unknown-freebsd6-boot${EXTRACT_SUFX}:boot
|
||||
|
||||
USE_AUTOTOOLS= autoconf:261:env
|
||||
USE_BZIP2= yes
|
||||
LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
|
||||
#LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_GMAKE= yes
|
||||
@ -55,13 +51,15 @@ PLIST_SUB+= PROFILE=""
|
||||
# This port builds by downloading a minimal binary distribution of GHC and
|
||||
# using that to bootstrap.
|
||||
BOOT_DIR= ${WRKDIR}/ghc-${PORTVERSION}-boot
|
||||
BOOT_GHC= ${BOOT_DIR}/bin/i386-unknown-freebsd/ghc-${PORTVERSION}
|
||||
BOOT_GHC= ${BOOT_DIR}/bin/ghc-${PORTVERSION}
|
||||
|
||||
CONFIGURE_ARGS+= --with-ghc=${BOOT_GHC} --with-gcc=${CC}
|
||||
CONFIGURE_ARGS+= --with-ghc=${BOOT_GHC} --with-gcc=${CC}# \
|
||||
# --with-gmp-includes=${LOCALBASE}/include --with-gmp-libraries=${LOCALBASE}/lib
|
||||
# specifying CONFIGURE_TARGET doesn't work for some reason.
|
||||
CONFIGURE_TARGET=
|
||||
# libgmp:
|
||||
CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
|
||||
#CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV+= CFLAGS= #empty
|
||||
|
||||
# override TMPDIR because /tmp often doesn't have enough space
|
||||
# to build some of the larger libraries.
|
||||
@ -78,18 +76,15 @@ post-extract:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} s+%%LOCALBASE%%+${LOCALBASE}+ \
|
||||
${WRKSRC}/rts/package.conf.in
|
||||
${REINPLACE_CMD} s+/usr/local/lib/ghc-6.6+${BOOT_DIR}/lib/i386-unknown-freebsd+ \
|
||||
${BOOT_DIR}/bin/i386-unknown-freebsd/*.sh
|
||||
|
||||
pre-configure:
|
||||
@(cd ${BOOT_DIR} && ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
|
||||
@(cd ${BOOT_DIR} && ${MAKE} in-place)
|
||||
@(cd ${BOOT_DIR} && ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} --prefix=${BOOT_DIR})
|
||||
@(cd ${BOOT_DIR} && ${GMAKE} install)
|
||||
|
||||
pre-build:
|
||||
@${MKDIR} ${TMPDIR}
|
||||
|
||||
post-install:
|
||||
@${RMDIR} ${PREFIX}/lib/ghc-${PORTVERSION}/imports/cbits # empty/unused
|
||||
@${MKDIR} ${PREFIX}/lib/ghc-${PORTVERSION}/cabal # cabalised hs-foo-ghc ports
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,9 +1,9 @@
|
||||
MD5 (ghc-6.6.1-src.tar.bz2) = ba9f4aec2fde5ff1e1548ae69b78aeb0
|
||||
SHA256 (ghc-6.6.1-src.tar.bz2) = 489126ceeb2dbb6a85ef8d87d6792e61e1bc0d5882e4b33a7725410d796132c6
|
||||
SIZE (ghc-6.6.1-src.tar.bz2) = 4339970
|
||||
MD5 (ghc-6.6.1-src-extralibs.tar.bz2) = 43a26b81608b206c056adc3032f7da2a
|
||||
SHA256 (ghc-6.6.1-src-extralibs.tar.bz2) = d162a82fc388fdd48c327b09bb6d778f2313d12d5282f3b120ac08a5d4e78902
|
||||
SIZE (ghc-6.6.1-src-extralibs.tar.bz2) = 1928527
|
||||
MD5 (ghc-6.6.1-i386-unknown-freebsd6-boot.tar.bz2) = 8d602900f847944a0af07689c8179fe3
|
||||
SHA256 (ghc-6.6.1-i386-unknown-freebsd6-boot.tar.bz2) = a59cfd772ab044146c6306bf9acf1f85dff8774f576926e0c6d075fd60973604
|
||||
SIZE (ghc-6.6.1-i386-unknown-freebsd6-boot.tar.bz2) = 20481192
|
||||
MD5 (ghc-6.8.2-src.tar.bz2) = 43108417594be7eba0918c459e871e40
|
||||
SHA256 (ghc-6.8.2-src.tar.bz2) = 2d10f973c35e8d7d9f62b53e26fef90177a9a15105cda4b917340ba7696a22d9
|
||||
SIZE (ghc-6.8.2-src.tar.bz2) = 7072545
|
||||
MD5 (ghc-6.8.2-src-extralibs.tar.bz2) = d199c50814188fb77355d41058b8613c
|
||||
SHA256 (ghc-6.8.2-src-extralibs.tar.bz2) = 96cdd5694907b22d3ecd7988d04e0105e50a8096d5662b21b6acaf79ffba9510
|
||||
SIZE (ghc-6.8.2-src-extralibs.tar.bz2) = 1919843
|
||||
MD5 (ghc-6.8.2-i386-unknown-freebsd6-boot.tar.bz2) = 92b190827dc6c815c7b95fbfdac497c2
|
||||
SHA256 (ghc-6.8.2-i386-unknown-freebsd6-boot.tar.bz2) = f4e7c2cc5b1a4fa7423dbb84958ebef73760a0c9792676ba18e4295b4f15beeb
|
||||
SIZE (ghc-6.8.2-i386-unknown-freebsd6-boot.tar.bz2) = 28890579
|
||||
|
2181
lang/ghc/pkg-plist
2181
lang/ghc/pkg-plist
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user