DISTFILES+= ${DISTNAME}-boot-i386-unknown-freebsd8.0.tar.bz2
DISTFILES+= ${DISTNAME}-boot-i386-unknown-netbsdelf6.99.1.tar.bz2
DISTFILES+= ${DISTNAME}-boot-powerpc-apple-darwin9.8.0.tar.bz2
+DISTFILES+= ${DISTNAME}-boot-x86_64-unknown-linux-gnu.tar.bz2
.for i in ${DISTFILES:M*-boot-*}
SITES.${i}= http://static.cielonegro.org/archive/
#
# If you want to build HC packages yourself, follow instructions in
# the ./TODO file.
-ONLY_FOR_PLATFORM= NetBSD-*-i386 FreeBSD-*-i386 Darwin-*-powerpc
+ONLY_FOR_PLATFORM= \
+ Darwin-*-powerpc \
+ FreeBSD-*-i386 \
+ Linux-*-x86_64 \
+ NetBSD-*-i386
# We must provide the real path to gcc to the ./configure script,
# because GHC has a runtime dependency on it. Aren't there any ways
CONFIGURE_ARGS+= --with-gcc=${CCPATH}
.endif
-USE_TOOLS+= autoconf date gmake gtar perl perl:run
+USE_TOOLS+= gmake perl:run
CONFIGURE_ENV+= PerlCmd=${PERL5:Q}
# We don't want to extract all of the DISTFILEs.
--with-iconv-libraries=${PREFIX}/lib
# Define ${PLATFORM} and the target "pre-configure".
-.include "../../wip/ghc/stage0.mk"
+.include "../../wip/ghc/bootstrap.mk"
do-configure:
${RUN} cd ${WRKSRC} && \
# GHC currently *requires* ${PREFIX}/lib to be in
# "/etc/ld-elf.so.conf". See
# http://hackage.haskell.org/trac/ghc/ticket/2933
-CHECK_SHLIBS_SUPPORTED= no
+CHECK_SHLIBS_SUPPORTED= no
# I guess pdcurses works well but not tested.
USE_NCURSES= yes