pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ghc: remove; GHC 7 is already in the main pkgsrc tree



Module Name:	pkgsrc-wip
Committed By:	PHO <pho%cielonegro.org@localhost>
Pushed By:	pho
Date:		Wed Feb 1 12:27:07 2023 +0900
Changeset:	62962392946765d8ff6df24ad5a9b18b3568d5d0

Modified Files:
	Makefile
Removed Files:
	ghc/DEINSTALL
	ghc/DESCR
	ghc/INSTALL
	ghc/Makefile
	ghc/TODO
	ghc/bootstrap.mk
	ghc/buildlink3.mk
	ghc/distinfo
	ghc/files/bootstrap.build.mk

Log Message:
ghc: remove; GHC 7 is already in the main pkgsrc tree

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=62962392946765d8ff6df24ad5a9b18b3568d5d0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                     |   1 -
 ghc/DEINSTALL                |  11 --
 ghc/DESCR                    |  14 ---
 ghc/INSTALL                  |   9 --
 ghc/Makefile                 |  87 --------------
 ghc/TODO                     |  17 ---
 ghc/bootstrap.mk             | 269 -------------------------------------------
 ghc/buildlink3.mk            |  17 ---
 ghc/distinfo                 |  17 ---
 ghc/files/bootstrap.build.mk |  31 -----
 10 files changed, 473 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 7e07309fe3..f31ccf19c3 100644
--- a/Makefile
+++ b/Makefile
@@ -1136,7 +1136,6 @@ SUBDIR+=	ggobi
 SUBDIR+=	ggz-gtk-client
 SUBDIR+=	ggz-gtk-games
 SUBDIR+=	ggz-server
-SUBDIR+=	ghc
 SUBDIR+=	ghc-core
 SUBDIR+=	ghc68
 SUBDIR+=	ghc710
diff --git a/ghc/DEINSTALL b/ghc/DEINSTALL
deleted file mode 100644
index 03f30c508c..0000000000
--- a/ghc/DEINSTALL
+++ /dev/null
@@ -1,11 +0,0 @@
-#!@SH@
-#
-# $NetBSD$
-
-DISTNAME="@DISTNAME@"
-
-case "${STAGE}" in
-DEINSTALL)
-	${RM} -f ${PKG_PREFIX}/lib/${DISTNAME}/package.conf.d/package.cache
-	;;
-esac
diff --git a/ghc/DESCR b/ghc/DESCR
deleted file mode 100644
index 7d7ebf1ad3..0000000000
--- a/ghc/DESCR
+++ /dev/null
@@ -1,14 +0,0 @@
-GHC: The Glasgow Haskell Compiler.
-
-The Glasgow Haskell Compiler is a robust, fully-featured, optimising
-compiler for the functional programming language Haskell 98
-(http://www.haskell.org). GHC compiles Haskell to either native code
-or C. It implements numerous experimental language extensions to
-Haskell, including concurrency, a foreign language interface, several
-type-system extensions, exceptions, and so on. GHC comes with a
-generational garbage collector, a space and time profiler, and a
-comprehensive set of libraries.
-
-This package uses binary bootstrap kits.  At least some of them are
-not created by people who have signed the NetBSD developer agreement,
-and therefore this package cannot be moved into pkgsrc proper.
diff --git a/ghc/INSTALL b/ghc/INSTALL
deleted file mode 100644
index 9ea0adde68..0000000000
--- a/ghc/INSTALL
+++ /dev/null
@@ -1,9 +0,0 @@
-#!@SH@
-#
-# $NetBSD$
-
-case "${STAGE}" in
-POST-INSTALL)
-	${PKG_PREFIX}/bin/ghc-pkg recache
-	;;
-esac
diff --git a/ghc/Makefile b/ghc/Makefile
deleted file mode 100644
index 9f3ae0bf9a..0000000000
--- a/ghc/Makefile
+++ /dev/null
@@ -1,87 +0,0 @@
-# $NetBSD$
-
-DISTNAME=	ghc-7.10.2-src
-PKGNAME=	${DISTNAME:S/-src$//}
-CATEGORIES=	lang
-MASTER_SITES=	http://www.haskell.org/ghc/dist/${PKGVERSION_NOREV}/
-EXTRACT_SUFX=	.tar.bz2
-
-EXTRACT_USING=	gtar
-
-MAINTAINER=	pho%cielonero.org@localhost
-HOMEPAGE=	https://www.haskell.org/ghc/
-COMMENT=	Compiler for the functional language Haskell
-LICENSE=	modified-bsd
-
-BUILD_DEPENDS+=	docbook-xsl-[0-9]*:../../textproc/docbook-xsl
-BUILD_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt
-
-# By default only extract the primary source, not all of the bootstrap kits.
-DISTFILES=	${DEFAULT_DISTFILES}
-EXTRACT_ONLY=	${DEFAULT_DISTFILES}
-WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
-
-GNU_CONFIGURE=		yes
-USE_GNU_CONFIGURE_HOST=	no
-USE_LIBTOOL=		yes
-USE_TOOLS+=		autoconf gmake patch perl:run
-
-CONFIGURE_ARGS+=	--with-gcc=${CC:Q}
-CONFIGURE_ARGS+=	--with-gmp-includes=${BUILDLINK_PREFIX.gmp}/${BUILDLINK_INCDIRS.gmp:Q}
-CONFIGURE_ARGS+=	--with-gmp-libraries=${BUILDLINK_PREFIX.gmp}/${BUILDLINK_LIBDIRS.gmp:Q}
-CONFIGURE_ARGS+=	--with-iconv-includes=${BUILDLINK_PREFIX.iconv}/${BUILDLINK_INCDIRS.iconv:Q}
-CONFIGURE_ARGS+=	--with-iconv-libraries=${BUILDLINK_PREFIX.iconv}/${BUILDLINK_LIBDIRS.iconv:Q}
-
-CONFIGURE_ENV+=		PerlCmd=${PERL5:Q}
-.for stage in 0 1 2
-CONFIGURE_ENV+=		CONF_CC_OPTS_STAGE${stage}=${CFLAGS:Q}
-CONFIGURE_ENV+=		CONF_GCC_LINKER_OPTS_STAGE${stage}=${LDFLAGS:Q}
-.endfor
-
-.include "../../mk/bsd.prefs.mk"
-
-# Darwin's /usr/lib/libffi.dylib is picked up and used, but is the wrong
-# version so we force the "system" (pkgsrc) one to be used.  This needs to
-# be fixed properly, figuring out how to exclude /usr/lib from the @rpath
-# search instead.
-.if ${OPSYS} == "Darwin"
-CONFIGURE_ARGS+= 	--with-system-libffi
-CONFIGURE_ARGS+= 	--with-ffi-includes=${BUILDLINK_PREFIX.libffi}/${BUILDLINK_INCDIRS.libffi:Q}
-CONFIGURE_ARGS+= 	--with-ffi-libraries=${BUILDLINK_PREFIX.libffi}/${BUILDLINK_LIBDIRS.libffi:Q}
-.include "../../devel/libffi/buildlink3.mk"
-.endif
-
-# Define the target "pre-configure" and non-standard "bootstrap".
-.include "../../wip/ghc/bootstrap.mk"
-
-# Our pre-configure phase installs a bindist of bootstrapping compiler
-# directly into TOOLS_DIR so that ./configure can find it.
-do-configure:
-	${RUN} cd ${WRKSRC} && \
-		${SETENV} ${CONFIGURE_ENV} ${SH} ./configure ${CONFIGURE_ARGS}
-	${RUN} ${RM} -f ${WRKSRC}/mk/build.mk
-	${RUN} ${ECHO} "BuildFlavour = quick" >${WRKSRC}/mk/build.mk
-	${RUN} ${ECHO} "DYNAMIC_GHC_PROGRAMS = NO" >>${WRKSRC}/mk/build.mk
-	${RUN} ${CAT} ${WRKSRC}/mk/build.mk.sample >>${WRKSRC}/mk/build.mk
-	${RUN} ${ECHO} "libraries/terminfo_CONFIGURE_OPTS += \
-	    --configure-option=--with-curses-includes=${BUILDLINK_PREFIX.curses}/${BUILDLINK_INCDIRS.curses} \
-	    --configure-option=--with-curses-libraries=${BUILDLINK_PREFIX.curses}/${BUILDLINK_LIBDIRS.curses}" >> ${WRKSRC}/mk/build.mk
-
-# Substitutions for INSTALL and DEINSTALL that handles package.cache.
-FILES_SUBST+=	DISTNAME=${DISTNAME}
-
-# We don't want package.cache to be in the PLIST.
-post-install:
-	${RM} -f ${DESTDIR}${PREFIX}/lib/${DISTNAME}/package.conf.d/package.cache
-
-# We can't use static PLIST because the package installs some files whose
-# names are randomly generated (e.g. lib/${PKGNAME}/package.conf.d/*.conf)
-GENERATE_PLIST+= \
-	cd ${DESTDIR}${PREFIX} && \
-		${FIND} * \( -type f -o -type l \) | ${SORT} -d;
-
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/gmp/buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/ghc/TODO b/ghc/TODO
deleted file mode 100644
index 06fecdb067..0000000000
--- a/ghc/TODO
+++ /dev/null
@@ -1,17 +0,0 @@
-.. -*- rst -*-
-
-wip/ghc TODO
-============
-
-* Build more bootstrapping compilers to support more platforms.
-
-How to build a bootstrapping compiler
--------------------------------------
-
-You need a working compiler to build one. If you think there are no
-bindists for your platform, you may need to cross-build a compiler
-yourself: `Cross-compiling GHC
-<http://hackage.haskell.org/trac/ghc/wiki/Building/CrossCompiling>`_
-
-Assuming you have a working ghc in your PATH, just run ``bmake patch
-&& bmake bootstrap`` and see if you are lucky enough.
diff --git a/ghc/bootstrap.mk b/ghc/bootstrap.mk
deleted file mode 100644
index 7feb807cdb..0000000000
--- a/ghc/bootstrap.mk
+++ /dev/null
@@ -1,269 +0,0 @@
-# $NetBSD$
-# -----------------------------------------------------------------------------
-# Select a bindist of bootstrapping compiler on a per-platform basis.
-#
-# BOOT_ARCHIVE
-#   This variable is set to the name of compressed archive file of a
-#   bootstrapping compiler for the current platform.
-#
-# BOOT_VERSION
-#   Version of the bootstrapping compiler to use. This can be
-#   overriden for specific platforms.
-#
-.include "../../mk/bsd.prefs.mk"
-
-# Use the same version as the package itself by default.
-BOOT_VERSION:=	${PKGNAME:C/^.*-//}
-
-.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo)
-BOOT_ARCHIVE:=		ghc-${BOOT_VERSION}-boot-x86_64-apple-darwin.tar.xz
-DISTFILES:=		${DISTFILES} ${BOOT_ARCHIVE}
-SITES.${BOOT_ARCHIVE}=	https://us-east.manta.joyent.com/pkgsrc/public/distfiles-local/
-.endif
-
-.if !empty(MACHINE_PLATFORM:MSunOS-5.11-i386) || make(distinfo)
-BOOT_ARCHIVE:=		ghc-${BOOT_VERSION}-boot-i386-unknown-solaris2.tar.xz
-DISTFILES:=		${DISTFILES} ${BOOT_ARCHIVE}
-SITES.${BOOT_ARCHIVE}=	https://us-east.manta.joyent.com/pkgsrc/public/distfiles-local/
-.endif
-
-.if !empty(MACHINE_PLATFORM:MSunOS-5.11-x86_64) || make(distinfo)
-BOOT_ARCHIVE:=		ghc-${BOOT_VERSION}-boot-x86_64-unknown-solaris2.tar.xz
-DISTFILES:=		${DISTFILES} ${BOOT_ARCHIVE}
-SITES.${BOOT_ARCHIVE}=	https://us-east.manta.joyent.com/pkgsrc/public/distfiles-local/
-.endif
-
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64) || make(distinfo)
-BOOT_ARCHIVE:=		ghc-${BOOT_VERSION}-boot-x86_64-unknown-netbsd.tar.xz
-DISTFILES:=		${DISTFILES} ${BOOT_ARCHIVE}
-SITES.${BOOT_ARCHIVE}=	ftp://ftp.netbsd.org/pub/NetBSD/misc/kamil/
-.endif
-
-.if empty(BOOT_ARCHIVE)
-BOOT_ARCHIVE:=		ghc-${BOOT_VERSION}-boot-unknown.tar.xz
-PKG_FAIL_REASON+=	"Unsupported platform, please generate bootstrap kit"
-.endif
-
-# For package developers, please do not upload any bootkits unsafely
-# built. That is, machines shared with someone or on a cloud hosting
-# service should be avoided for building bootkits.
-.for i in ${DISTFILES:M*-boot-*}
-SITES.${i}?=	${MASTER_SITE_LOCAL}
-.endfor
-
-# Existence of libelf makes LeadingUnderscore being "NO", which is
-# incorrect for this platform. See ${WRKSRC}/aclocal.m4
-# (FP_LEADING_UNDERSCORE)
-.if ${OPSYS} == "Darwin"
-CONFLICTS+=	libelf-[0-9]*
-.endif
-
-# FreeBSD < 10 surprisingly doesn't have a native iconv so we need to
-# use pkgsrc libiconv for this OPSYS. And if a bootkit depends on
-# pkgsrc libiconv, the "normal" build must do the same because GHC
-# always needs to link executables with libiconv, just like libgmp
-# when integer-gmp is used. For this reason it might be desirable to
-# create two separate bootkits, one for < 10 and another for >= 10.
-.if ${OPSYS} == "FreeBSD"
-USE_BUILTIN.iconv=	no
-.endif
-
-# -----------------------------------------------------------------------------
-# The "pre-configure" hook
-#
-# Install a bootstrapping compiler directly into TOOLS_DIR so that
-# ./configure can find it.
-#
-USE_TOOLS+=	gmake xzcat xz
-
-pre-configure:
-	@${TEST} -f ${DISTDIR}/${DIST_SUBDIR}/${BOOT_ARCHIVE} || \
-	${FAIL_MSG}  "Put your trusted bootstrap archive as ${DISTDIR}/${DIST_SUBDIR}/${BOOT_ARCHIVE}"
-
-	@${PHASE_MSG} "Extracting bootstrapping compiler for ${PKGNAME}"
-	${RUN} ${MKDIR} ${WRKDIR}/build-extract
-	${RUN} cd ${WRKDIR}/build-extract && \
-		${EXTRACT_CMD_DEFAULT} ${DISTDIR}/${DIST_SUBDIR}/${BOOT_ARCHIVE}
-
-# It is important to install the stage-0 compiler with our rpath flags
-# configured, otherwise it will produce executables with no rpath and
-# fail in the configure phase.
-	@${PHASE_MSG} "Preparing bootstrapping compiler for ${PKGNAME}"
-	${RUN} cd ${WRKDIR}/build-extract/${PKGNAME_NOREV}-boot && \
-		${PKGSRC_SETENV} ${CONFIGURE_ENV} ${SH} ./configure \
-			--prefix=${TOOLS_DIR:Q} && \
-		${MAKE_PROGRAM} install
-
-
-# -----------------------------------------------------------------------------
-# An unusual target "bootstrap"
-#
-# Build a bootstrapping compiler using an already installed GHC. This
-# can certainly impossible if you don't have one. It's absolutely
-# important to build it with the fewest possible run-time
-# dependencies, otherwise the resulting binary can easily get
-# unusable.
-#
-
-# We don't want our bootkits to have a run-time dependency on
-# libgcc. In fact GHC's implementation of Haskell exception handling
-# does not depend on libgcc's facilities so it is attractive to do the
-# same for "normal" build... but we can't. This is because Haskell
-# programs may call C functions via FFI, and those C functions may
-# call C++ functions in turn, possibly in a different shared library.
-.include "../../mk/compiler.mk"
-.if make(bootstrap) && !empty(CC_VERSION:Mgcc-*)
-# But on some platforms, gcc automagically inserts a dependency on a
-# shared libgcc when -lpthread is given, which is seemingly
-# unavoidable.
-LDFLAGS+=	-static-libgcc
-.endif
-
-# Gather information about packages on which bootkit depends. It will
-# be used in the post-bootstrap phase.
-BOOT_GHC_DEPS:=		curses iconv
-BOOT_GHC_PKGSRC_DEPS:=	# empty
-.for pkg in ${BOOT_GHC_DEPS}
-
-# NOTE: pkglint(1) complains for including these builtin.mk files,
-# telling that we must include buildlink3.mk instead. But then how do
-# we get variables like USE_BUILTIN.${pkg} defined before including
-# ../../mk/bsd.pkg.mk, given that ../../mk/bsd.buildlink3.mk isn't
-# protected against multiple inclusion?
-CHECK_BUILTIN.${pkg}:=	yes
-.  if ${pkg} == "curses"
-.    include "../../mk/curses.builtin.mk"
-.  elif ${pkg} == "iconv"
-.    include "../../converters/libiconv/builtin.mk"
-.  endif
-CHECK_BUILTIN.${pkg}:=	no
-
-# BOOT_GHC_PKGSRC_DEPS is a list of packages whose pkgsrc version is
-# preferred over native one, either by user or ../../mk/platform
-.  if ${PREFER.${pkg}} == "pkgsrc"
-BOOT_GHC_PKGSRC_DEPS+=	${pkg}
-.  endif
-.endfor
-
-# Compiler wrappers must not remove -I/-L flags for the installed
-# GHC's libdir, otherwise the GHC we are going to use for building our
-# bootstraping kit will not work at all. Ideally it should be added to
-# BUILDLINK_PASSTHRU_DIRS only .if make(bootstrap), but then running
-# "${MAKE} wrapper" before "${MAKE} bootstrap" will result in a
-# cryptic error which we can't easily catch.
-BOOT_GHC_LIBDIR_CMD=		ghc --print-libdir
-.if !defined(BOOT_GHC_LIBDIR)
-BOOT_GHC_LIBDIR!=		(${BOOT_GHC_LIBDIR_CMD}) 2>/dev/null || ${ECHO}
-.endif
-MAKEVARS+=			BOOT_GHC_LIBDIR
-BUILDLINK_PASSTHRU_DIRS+=	${BOOT_GHC_LIBDIR}
-
-# Default values for BUILDLINK_INCDIRS.<pkg> are only generated in the
-# barrier. See ../../mk/buildlink3/bsd.buildlink3.mk and
-# ../../mk/bsd.pkg.barrier.mk
-.PHONY: bootstrap
-.if make(bootstrap)
-_BARRIER_CMDLINE_TARGETS+=	bootstrap
-.endif
-.if !defined(_PKGSRC_BARRIER)
-bootstrap: barrier
-.else
-bootstrap: pre-bootstrap .WAIT ${WRKDIR}/${BOOT_ARCHIVE} .WAIT post-bootstrap
-.endif
-
-.PHONY: pre-bootstrap
-pre-bootstrap: wrapper
-.if empty(BOOT_GHC_LIBDIR)
-	@if ${BOOT_GHC_LIBDIR_CMD} 2>/dev/null 1>&2; then \
-		${ERROR_MSG} "Running \"${BOOT_GHC_LIBDIR_CMD}\" has failed during wrapper phase."; \
-		${FAIL_MSG}  "Plase run \"${MAKE} clean\" and try again."; \
-	else \
-		${ERROR_MSG} "Failed to run \"${BOOT_GHC_LIBDIR_CMD}\":"; \
-		${BOOT_GHC_LIBDIR_CMD}; \
-		${ERROR_MSG} "You don't seem to have a working GHC in your PATH."; \
-		${FAIL_MSG}  "Please install one and then run \"${MAKE} clean bootstrap\"."; \
-	fi
-.endif
-# ${_COOKIE.configure} is not defined yet so we can't use .if here.
-	@if ${TEST} -f ${_COOKIE.configure}; then \
-		${ERROR_MSG} "You have already configured the package in a way\
-		that building bootstrapping compiler is impossible."; \
-		${FAIL_MSG}  "Please run \"${MAKE} clean\" first."; \
-	fi
-
-${WRKDIR}/lndir:
-	@${PHASE_MSG} "Building lndir(1) to duplicate the source tree."
-	cd ${WRKSRC}/utils/lndir && \
-		${PKG_CC:Q} lndir.c -o ${.TARGET}
-
-${WRKDIR}/stamp-lndir-boot: ${WRKDIR}/lndir
-	@${PHASE_MSG} "Duplicating the source tree for bootstrapping ${PKGNAME_NOREV}"
-	${MKDIR} ${WRKDIR}/build-boot
-	cd ${WRKDIR}/build-boot && \
-		${WRKDIR}/lndir -silent ../${PKGNAME_NOREV}
-	${TOUCH} ${.TARGET}
-
-# For terminfo_CONFIGURE_OPTS, see
-# https://ghc.haskell.org/trac/ghc/ticket/10096
-${WRKDIR}/stamp-configure-boot: ${WRKDIR}/stamp-lndir-boot
-	@${PHASE_MSG} "Configuring bootstrapping compiler ${PKGNAME_NOREV}"
-	${MKDIR} ${WRKDIR}/build-boot
-	cd ${WRKDIR}/build-boot && \
-		${PKGSRC_SETENV} ${CONFIGURE_ENV} ${SH} ./configure ${CONFIGURE_ARGS}
-	${TOUCH} ${.TARGET}
-
-${WRKDIR}/build-boot/mk/build.mk: ${WRKDIR}/stamp-configure-boot
-	@${PHASE_MSG} "Configuring ${.TARGET}"
-	${ECHO} "BuildFlavour = quick" >${.TARGET}
-	${ECHO} "DYNAMIC_GHC_PROGRAMS = NO" >>${.TARGET}
-	${CAT} ${WRKDIR}/build-boot/mk/build.mk.sample >>${.TARGET}
-	${ECHO} "INTEGER_LIBRARY = integer-simple" >>${.TARGET}
-	${ECHO} "BIN_DIST_NAME = ghc-\$$(ProjectVersion)-boot" >>${.TARGET}
-	${ECHO} "libraries/terminfo_CONFIGURE_OPTS += \
-	    --configure-option=--with-curses-includes=${BUILDLINK_PREFIX.curses}/${BUILDLINK_INCDIRS.curses} \
-	    --configure-option=--with-curses-libraries=${BUILDLINK_PREFIX.curses}/${BUILDLINK_LIBDIRS.curses}" >>${.TARGET}
-
-${WRKDIR}/stamp-build-boot: ${WRKDIR}/build-boot/mk/build.mk
-	@${PHASE_MSG} "Building bootstrapping compiler ${PKGNAME_NOREV}"
-	${RUN} cd ${WRKDIR}/build-boot && ${BUILD_MAKE_CMD}
-	${TOUCH} ${.TARGET}
-
-${WRKDIR}/${BOOT_ARCHIVE}: ${WRKDIR}/stamp-build-boot
-	@${PHASE_MSG} "Creating binary distribution of bootstrapping ${PKGNAME_NOREV}"
-	${RUN} cd ${WRKDIR}/build-boot && \
-		${BUILD_MAKE_CMD} TAR_COMP=xz XZ_CMD="xz -9ev" binary-dist
-	${MV} -f ${WRKDIR}/build-boot/${BOOT_ARCHIVE} ${.TARGET}
-
-.PHONY: post-bootstrap
-post-bootstrap:
-	@${ECHO} "=========================================================================="
-	@${ECHO} "Done creating ${BOOT_ARCHIVE}"
-	@${ECHO} "  in ${WRKDIR}"
-	@${ECHO}
-	@${ECHO} "Now you can copy it into ${DISTDIR}/${DIST_SUBDIR} to use it as your"
-	@${ECHO} "bootstrap kit. You may want to take a backup in case \"lintpkgsrc -r\""
-	@${ECHO} "removes it."
-	@${ECHO}
-	@${ECHO} "Your bootstrap kit has the following run-time dependencies:"
-.for pkg in ${BOOT_GHC_DEPS}
-	@${PRINTF} "  * %-8s" "${pkg}:"
-.  if !empty(USE_BUILTIN.${pkg}:M[nN][oO])
-	@${ECHO_N} " pkgsrc ${BUILDLINK_PKGNAME.${pkg}}"
-.  else
-	@${ECHO_N} " native"
-.    if empty(BUILTIN_PKG.${pkg})
-	@${ECHO_N} " (version/variant unknown)"
-.    else
-	@${ECHO_N} " ${BUILTIN_PKG.${pkg}}"
-.    endif
-.  endif
-	@${ECHO}
-.endfor
-.if !empty(BOOT_GHC_PKGSRC_DEPS)
-	@${ECHO}
-	@${ECHO} "Please note that it is generally not a good idea for a bootkit to depend"
-	@${ECHO} "on pkgsrc packages, as pkgsrc tends to move faster than operating systems"
-	@${ECHO} "so your bootkit may bitrot more quickly. You may want to rebuild it"
-	@${ECHO} "without setting PREFER_PKGSRC to \"yes\"."
-.endif
-	@${ECHO} "=========================================================================="
diff --git a/ghc/buildlink3.mk b/ghc/buildlink3.mk
deleted file mode 100644
index b34fb7ebd5..0000000000
--- a/ghc/buildlink3.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# $NetBSD$
-
-BUILDLINK_TREE+=	ghc
-
-.if !defined(GHC_BUILDLINK3_MK)
-GHC_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.ghc+=	ghc>=7.10.2
-BUILDLINK_ABI_DEPENDS.ghc+=	ghc>=7.10.2
-BUILDLINK_PKGSRCDIR.ghc?=	../../wip/ghc
-
-.include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/gmp/buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
-.endif	# GHC_BUILDLINK3_MK
-
-BUILDLINK_TREE+=	-ghc
diff --git a/ghc/distinfo b/ghc/distinfo
deleted file mode 100644
index 3f355df36d..0000000000
--- a/ghc/distinfo
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD$
-
-RMD160 (ghc-7.10.2-boot-i386-unknown-solaris2.tar.xz) = 4d5d12744d67ecd67bdccb3688335129040df703
-SHA512 (ghc-7.10.2-boot-i386-unknown-solaris2.tar.xz) = 50e2f1f9fa29636f16fbbbaf42ed3c496f04e3d978ae66b741e30446bf169682a868ae2df5e8f24bf75978dbb142e13ff6264c7c6ca7a6905618844c42996e3f
-Size (ghc-7.10.2-boot-i386-unknown-solaris2.tar.xz) = 40445420 bytes
-RMD160 (ghc-7.10.2-boot-x86_64-apple-darwin.tar.xz) = f08f19cdbcda38cede85f78631a04dd9611be6b2
-SHA512 (ghc-7.10.2-boot-x86_64-apple-darwin.tar.xz) = 118874eaea1df93088c5faf0825cb1228e80b5d9afccacd2bec80df93b6b0d05a1664409863a2be5e932b79f7f1691c2b7f4394d9fc5125830916e8b2b0bf3ab
-Size (ghc-7.10.2-boot-x86_64-apple-darwin.tar.xz) = 52981452 bytes
-RMD160 (ghc-7.10.2-boot-x86_64-unknown-netbsd.tar.xz) = 0f6094978685fbc124dd15e13c7d094329cff23c
-SHA512 (ghc-7.10.2-boot-x86_64-unknown-netbsd.tar.xz) = 7f23287e91e9a9b457839534746bb547890972fdf2dbd2018039b65e798c2fce5b85e98da95c315e172d73c51d8e3102cc239b1763294a6c3024d06ea8471ee7
-Size (ghc-7.10.2-boot-x86_64-unknown-netbsd.tar.xz) = 41224924 bytes
-RMD160 (ghc-7.10.2-boot-x86_64-unknown-solaris2.tar.xz) = 11c45b1c1d15b130f980e7db2e96235ab6f6c49a
-SHA512 (ghc-7.10.2-boot-x86_64-unknown-solaris2.tar.xz) = e344829f338a035e311bb06c08b06ee455af5fdc0a9784027f536c29abf9bdea40d43b0044d33e91c1d94c3d220b1f3199cfe0ed4f0943e9d0cab8bb7fd72864
-Size (ghc-7.10.2-boot-x86_64-unknown-solaris2.tar.xz) = 48986488 bytes
-RMD160 (ghc-7.10.2-src.tar.bz2) = cad56e1cb2574aded0b7a57dc575390024b5919e
-SHA512 (ghc-7.10.2-src.tar.bz2) = ba130597d68013590f1fdf1ee52efed081d6d064826ec1b5e037cad1ad29720fa58edf1728c7342cd285f8aeb9d74143aa51ec88e5a3f4af480a9e77e23d45d6
-Size (ghc-7.10.2-src.tar.bz2) = 12536999 bytes
diff --git a/ghc/files/bootstrap.build.mk b/ghc/files/bootstrap.build.mk
deleted file mode 100644
index 0155930344..0000000000
--- a/ghc/files/bootstrap.build.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-# -*- makefile-gmake -*-
-#
-# This is a build conf for bootstrapping compilers.
-#
-
-# We don't want any docs.
-HADDOCK_DOCS       = NO
-BUILD_DOCBOOK_HTML = NO
-BUILD_DOCBOOK_PS   = NO
-BUILD_DOCBOOK_PDF  = NO
-BUILD_MAN          = NO
-
-# Enabling evil-splitter reduces bindist size, which is good. However
-# it introduces a run-time dependency on perl, which is unacceptable.
-SplitObjs          = NO
-
-# We only want vanilla libraries and rts. No profiling, no shared
-# libraries, no debugging, no event logging.
-GhcLibWays         = v
-GhcRTSWays         =
-
-# I'm not sure disabling GHCi significantly reduces the bindist size,
-# but we don't need it anyway.
-GhcWithInterpreter = NO
-
-# We don't want in-place GMP to be statically linked as it increases
-# the bindist size. Dynamic linkage is even worse.
-INTEGER_LIBRARY    = integer-simple
-
-# We'd like to distinguish bootstrapping bindists from normal ones.
-BIN_DIST_NAME      = ghc-$(ProjectVersion)-boot


Home | Main Index | Thread Index | Old Index