head	1.69;
access;
symbols
	pkgsrc-2023Q3:1.67.0.10
	pkgsrc-2023Q3-base:1.67
	pkgsrc-2023Q2:1.67.0.8
	pkgsrc-2023Q2-base:1.67
	pkgsrc-2023Q1:1.67.0.6
	pkgsrc-2023Q1-base:1.67
	pkgsrc-2022Q4:1.67.0.4
	pkgsrc-2022Q4-base:1.67
	pkgsrc-2022Q3:1.67.0.2
	pkgsrc-2022Q3-base:1.67
	pkgsrc-2022Q2:1.66.0.6
	pkgsrc-2022Q2-base:1.66
	pkgsrc-2022Q1:1.66.0.4
	pkgsrc-2022Q1-base:1.66
	pkgsrc-2021Q4:1.66.0.2
	pkgsrc-2021Q4-base:1.66
	pkgsrc-2021Q3:1.65.0.4
	pkgsrc-2021Q3-base:1.65
	pkgsrc-2021Q2:1.65.0.2
	pkgsrc-2021Q2-base:1.65
	pkgsrc-2021Q1:1.64.0.6
	pkgsrc-2021Q1-base:1.64
	pkgsrc-2020Q4:1.64.0.4
	pkgsrc-2020Q4-base:1.64
	pkgsrc-2020Q3:1.64.0.2
	pkgsrc-2020Q3-base:1.64
	pkgsrc-2020Q2:1.63.0.6
	pkgsrc-2020Q2-base:1.63
	pkgsrc-2020Q1:1.63.0.2
	pkgsrc-2020Q1-base:1.63
	pkgsrc-2019Q4:1.63.0.4
	pkgsrc-2019Q4-base:1.63
	pkgsrc-2019Q3:1.61.0.2
	pkgsrc-2019Q3-base:1.61
	pkgsrc-2019Q2:1.59.0.2
	pkgsrc-2019Q2-base:1.59
	pkgsrc-2019Q1:1.58.0.6
	pkgsrc-2019Q1-base:1.58
	pkgsrc-2018Q4:1.58.0.4
	pkgsrc-2018Q4-base:1.58
	pkgsrc-2018Q3:1.58.0.2
	pkgsrc-2018Q3-base:1.58
	pkgsrc-2018Q2:1.56.0.18
	pkgsrc-2018Q2-base:1.56
	pkgsrc-2018Q1:1.56.0.16
	pkgsrc-2018Q1-base:1.56
	pkgsrc-2017Q4:1.56.0.14
	pkgsrc-2017Q4-base:1.56
	pkgsrc-2017Q3:1.56.0.12
	pkgsrc-2017Q3-base:1.56
	pkgsrc-2017Q2:1.56.0.8
	pkgsrc-2017Q2-base:1.56
	pkgsrc-2017Q1:1.56.0.6
	pkgsrc-2017Q1-base:1.56
	pkgsrc-2016Q4:1.56.0.4
	pkgsrc-2016Q4-base:1.56
	pkgsrc-2016Q3:1.56.0.2
	pkgsrc-2016Q3-base:1.56
	pkgsrc-2016Q2:1.55.0.10
	pkgsrc-2016Q2-base:1.55
	pkgsrc-2016Q1:1.55.0.8
	pkgsrc-2016Q1-base:1.55
	pkgsrc-2015Q4:1.55.0.6
	pkgsrc-2015Q4-base:1.55
	pkgsrc-2015Q3:1.55.0.4
	pkgsrc-2015Q3-base:1.55
	pkgsrc-2015Q2:1.55.0.2
	pkgsrc-2015Q2-base:1.55
	pkgsrc-2015Q1:1.54.0.2
	pkgsrc-2015Q1-base:1.54
	pkgsrc-2014Q4:1.53.0.6
	pkgsrc-2014Q4-base:1.53
	pkgsrc-2014Q3:1.53.0.4
	pkgsrc-2014Q3-base:1.53
	pkgsrc-2014Q2:1.53.0.2
	pkgsrc-2014Q2-base:1.53
	pkgsrc-2014Q1:1.52.0.4
	pkgsrc-2014Q1-base:1.52
	pkgsrc-2013Q4:1.52.0.2
	pkgsrc-2013Q4-base:1.52
	pkgsrc-2013Q3:1.50.0.2
	pkgsrc-2013Q3-base:1.50
	pkgsrc-2013Q2:1.49.0.2
	pkgsrc-2013Q2-base:1.49
	pkgsrc-2013Q1:1.48.0.4
	pkgsrc-2013Q1-base:1.48
	pkgsrc-2012Q4:1.48.0.2
	pkgsrc-2012Q4-base:1.48
	pkgsrc-2012Q3:1.47.0.2
	pkgsrc-2012Q3-base:1.47
	pkgsrc-2012Q2:1.45.0.20
	pkgsrc-2012Q2-base:1.45
	pkgsrc-2012Q1:1.45.0.18
	pkgsrc-2012Q1-base:1.45
	pkgsrc-2011Q4:1.45.0.16
	pkgsrc-2011Q4-base:1.45
	pkgsrc-2011Q3:1.45.0.14
	pkgsrc-2011Q3-base:1.45
	pkgsrc-2011Q2:1.45.0.12
	pkgsrc-2011Q2-base:1.45
	pkgsrc-2011Q1:1.45.0.10
	pkgsrc-2011Q1-base:1.45
	pkgsrc-2010Q4:1.45.0.8
	pkgsrc-2010Q4-base:1.45
	pkgsrc-2010Q3:1.45.0.6
	pkgsrc-2010Q3-base:1.45
	pkgsrc-2010Q2:1.45.0.4
	pkgsrc-2010Q2-base:1.45
	pkgsrc-2010Q1:1.45.0.2
	pkgsrc-2010Q1-base:1.45
	pkgsrc-2009Q4:1.44.0.6
	pkgsrc-2009Q4-base:1.44
	pkgsrc-2009Q3:1.44.0.4
	pkgsrc-2009Q3-base:1.44
	pkgsrc-2009Q2:1.44.0.2
	pkgsrc-2009Q2-base:1.44
	pkgsrc-2009Q1:1.43.0.8
	pkgsrc-2009Q1-base:1.43
	pkgsrc-2008Q4:1.43.0.6
	pkgsrc-2008Q4-base:1.43
	pkgsrc-2008Q3:1.43.0.4
	pkgsrc-2008Q3-base:1.43
	cube-native-xorg:1.43.0.2
	cube-native-xorg-base:1.43
	pkgsrc-2008Q2:1.42.0.4
	pkgsrc-2008Q2-base:1.42
	cwrapper:1.42.0.2
	pkgsrc-2008Q1:1.41.0.2
	pkgsrc-2008Q1-base:1.41
	pkgsrc-2007Q4:1.38.0.4
	pkgsrc-2007Q4-base:1.38
	pkgsrc-2007Q3:1.38.0.2
	pkgsrc-2007Q3-base:1.38
	pkgsrc-2007Q2:1.37.0.2
	pkgsrc-2007Q2-base:1.37
	pkgsrc-2007Q1:1.34.0.2
	pkgsrc-2007Q1-base:1.34
	pkgsrc-2006Q4:1.33.0.2
	pkgsrc-2006Q4-base:1.33
	pkgsrc-2006Q3:1.32.0.2
	pkgsrc-2006Q3-base:1.32
	pkgsrc-2006Q2:1.27.0.4
	pkgsrc-2006Q2-base:1.27
	pkgsrc-2006Q1:1.27.0.2
	pkgsrc-2006Q1-base:1.27
	pkgsrc-2005Q4:1.26.0.2
	pkgsrc-2005Q4-base:1.26
	pkgsrc-2005Q3:1.24.0.2
	pkgsrc-2005Q3-base:1.24
	pkgsrc-2005Q2:1.23.0.2
	pkgsrc-2005Q2-base:1.23
	pkgsrc-2005Q1:1.19.0.4
	pkgsrc-2005Q1-base:1.19
	pkgsrc-2004Q4:1.19.0.2
	pkgsrc-2004Q4-base:1.19
	pkgsrc-2004Q3:1.17.0.4
	pkgsrc-2004Q3-base:1.17
	pkgsrc-2004Q2:1.17.0.2
	pkgsrc-2004Q2-base:1.17
	pkgsrc-2004Q1:1.16.0.2
	pkgsrc-2004Q1-base:1.16
	pkgsrc-2003Q4:1.13.0.2
	pkgsrc-2003Q4-base:1.13
	netbsd-1-6-1:1.9.0.6
	netbsd-1-6-1-base:1.9
	netbsd-1-6:1.9.0.8
	netbsd-1-6-RELEASE-base:1.9
	pkgviews:1.9.0.4
	pkgviews-base:1.9
	buildlink2:1.9.0.2
	buildlink2-base:1.9
	netbsd-1-5-PATCH003:1.9
	netbsd-1-5-PATCH001:1.9
	netbsd-1-5-RELEASE:1.7
	netbsd-1-4-PATCH003:1.7
	netbsd-1-4-PATCH002:1.5
	FreeBSD-current-1999-12-15:1.1.1.1
	FREEBSD:1.1.1;
locks; strict;
comment	@# @;


1.69
date	2023.12.16.07.18.09;	author wiz;	state dead;
branches;
next	1.68;
commitid	ypoCPllXajxaYEQE;

1.68
date	2023.12.15.13.49.38;	author wiz;	state Exp;
branches;
next	1.67;
commitid	AZUaHDO4idkuazQE;

1.67
date	2022.06.28.11.34.11;	author wiz;	state Exp;
branches;
next	1.66;
commitid	D2UoJrTHpoHEANJD;

1.66
date	2021.09.27.14.30.48;	author nia;	state Exp;
branches;
next	1.65;
commitid	ex8TceAbZ2lNoBaD;

1.65
date	2021.05.24.19.52.31;	author wiz;	state Exp;
branches;
next	1.64;
commitid	qokaiStTApGMcrUC;

1.64
date	2020.08.31.18.09.49;	author wiz;	state Exp;
branches;
next	1.63;
commitid	7zxRbfOkDOoxbfmC;

1.63
date	2019.11.03.19.04.00;	author rillig;	state Exp;
branches;
next	1.62;
commitid	puQpdVbj8afCdrJB;

1.62
date	2019.10.25.08.55.46;	author gutteridge;	state Exp;
branches;
next	1.61;
commitid	UaABPNlA7W0H8eIB;

1.61
date	2019.08.11.13.21.21;	author wiz;	state Exp;
branches;
next	1.60;
commitid	Ifet9Pg6Qt99ZByB;

1.60
date	2019.07.08.10.36.26;	author nia;	state Exp;
branches;
next	1.59;
commitid	YSUyo62YtWzHceuB;

1.59
date	2019.05.23.19.23.02;	author rillig;	state Exp;
branches;
next	1.58;
commitid	aWlQW8HYUUFCAmoB;

1.58
date	2018.08.22.09.45.20;	author wiz;	state Exp;
branches;
next	1.57;
commitid	YLub8g3ofvFGb6PA;

1.57
date	2018.07.04.13.40.22;	author jperkin;	state Exp;
branches;
next	1.56;
commitid	NnIyRkdX3Lbg3PIA;

1.56
date	2016.07.09.06.38.25;	author wiz;	state Exp;
branches;
next	1.55;
commitid	dlqnocGpOoXV2Cdz;

1.55
date	2015.06.12.10.50.15;	author wiz;	state Exp;
branches;
next	1.54;
commitid	B4JmCfaVUbiY38py;

1.54
date	2015.01.04.08.04.59;	author dholland;	state Exp;
branches;
next	1.53;
commitid	mf8CK1LGQz46hG4y;

1.53
date	2014.05.29.23.36.42;	author wiz;	state Exp;
branches;
next	1.52;
commitid	laryHfkCalgYtuCx;

1.52
date	2013.12.06.06.20.00;	author dholland;	state Exp;
branches;
next	1.51;
commitid	onmNUDWItIe2m2gx;

1.51
date	2013.10.24.10.31.02;	author wiz;	state Exp;
branches;
next	1.50;
commitid	Lhk7FXj34nuq3xax;

1.50
date	2013.07.15.02.02.23;	author ryoon;	state Exp;
branches;
next	1.49;
commitid	aGblgSa9xp3HyvXw;

1.49
date	2013.05.31.12.41.11;	author wiz;	state Exp;
branches;
next	1.48;
commitid	hIeXGcx6VfKHwMRw;

1.48
date	2012.10.03.21.56.19;	author wiz;	state Exp;
branches;
next	1.47;

1.47
date	2012.08.17.15.49.35;	author jperkin;	state Exp;
branches;
next	1.46;

1.46
date	2012.08.14.17.07.57;	author asau;	state Exp;
branches;
next	1.45;

1.45
date	2010.03.24.19.43.25;	author asau;	state Exp;
branches;
next	1.44;

1.44
date	2009.05.20.00.58.18;	author wiz;	state Exp;
branches;
next	1.43;

1.43
date	2008.07.20.00.26.52;	author kristerw;	state Exp;
branches;
next	1.42;

1.42
date	2008.07.07.14.58.00;	author kristerw;	state Exp;
branches;
next	1.41;

1.41
date	2008.03.31.06.18.12;	author cjs;	state Exp;
branches;
next	1.40;

1.40
date	2008.03.24.22.40.23;	author kristerw;	state Exp;
branches;
next	1.39;

1.39
date	2008.03.17.15.33.10;	author kristerw;	state Exp;
branches;
next	1.38;

1.38
date	2007.08.18.23.39.26;	author rillig;	state Exp;
branches;
next	1.37;

1.37
date	2007.06.25.21.18.37;	author rillig;	state Exp;
branches;
next	1.36;

1.36
date	2007.05.09.13.47.01;	author obache;	state Exp;
branches;
next	1.35;

1.35
date	2007.04.29.22.12.02;	author kristerw;	state Exp;
branches;
next	1.34;

1.34
date	2007.03.24.17.57.19;	author kristerw;	state Exp;
branches;
next	1.33;

1.33
date	2006.11.12.21.58.38;	author kristerw;	state Exp;
branches;
next	1.32;

1.32
date	2006.07.31.18.10.00;	author wiz;	state Exp;
branches;
next	1.31;

1.31
date	2006.07.31.02.07.13;	author kristerw;	state Exp;
branches;
next	1.30;

1.30
date	2006.07.27.23.45.08;	author kristerw;	state Exp;
branches;
next	1.29;

1.29
date	2006.07.27.18.48.02;	author jlam;	state Exp;
branches;
next	1.28;

1.28
date	2006.07.09.12.22.05;	author augustss;	state Exp;
branches;
next	1.27;

1.27
date	2006.02.05.23.09.45;	author joerg;	state Exp;
branches;
next	1.26;

1.26
date	2005.12.05.20.50.25;	author rillig;	state Exp;
branches;
next	1.25;

1.25
date	2005.10.14.18.47.28;	author kristerw;	state Exp;
branches;
next	1.24;

1.24
date	2005.07.16.01.19.11;	author jlam;	state Exp;
branches;
next	1.23;

1.23
date	2005.05.22.20.08.09;	author jlam;	state Exp;
branches;
next	1.22;

1.22
date	2005.05.21.20.22.21;	author kristerw;	state Exp;
branches;
next	1.21;

1.21
date	2005.05.04.19.02.33;	author kristerw;	state Exp;
branches;
next	1.20;

1.20
date	2005.04.11.21.46.13;	author tv;	state Exp;
branches;
next	1.19;

1.19
date	2004.12.19.20.06.32;	author kristerw;	state Exp;
branches;
next	1.18;

1.18
date	2004.10.03.00.15.01;	author tv;	state Exp;
branches;
next	1.17;

1.17
date	2004.05.29.14.28.43;	author kristerw;	state Exp;
branches;
next	1.16;

1.16
date	2004.03.22.03.39.00;	author kristerw;	state Exp;
branches;
next	1.15;

1.15
date	2004.01.24.13.51.14;	author grant;	state Exp;
branches;
next	1.14;

1.14
date	2003.12.31.17.11.57;	author kristerw;	state Exp;
branches;
next	1.13;

1.13
date	2003.07.17.21.44.29;	author grant;	state Exp;
branches;
next	1.12;

1.12
date	2003.06.02.01.19.03;	author jschauma;	state Exp;
branches;
next	1.11;

1.11
date	2003.04.29.11.27.39;	author augustss;	state Exp;
branches;
next	1.10;

1.10
date	2003.03.29.12.41.25;	author jmmv;	state Exp;
branches;
next	1.9;

1.9
date	2001.04.22.16.36.10;	author wiz;	state Exp;
branches;
next	1.8;

1.8
date	2001.02.17.09.07.09;	author agc;	state Exp;
branches;
next	1.7;

1.7
date	2000.07.20.15.41.04;	author tron;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.30.16.29.17;	author danw;	state Exp;
branches;
next	1.5;

1.5
date	2000.01.09.01.19.11;	author wiz;	state Exp;
branches;
next	1.4;

1.4
date	99.12.27.18.20.11;	author tron;	state Exp;
branches;
next	1.3;

1.3
date	99.12.16.14.10.14;	author agc;	state Exp;
branches;
next	1.2;

1.2
date	99.12.15.06.00.43;	author proff;	state Exp;
branches;
next	1.1;

1.1
date	99.12.15.05.50.47;	author proff;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.12.15.05.50.47;	author proff;	state Exp;
branches;
next	;


desc
@@


1.69
log
@ghc: remove

This was ghc 6.8.3, the last version that was bootstrappable from
C.  However, this bootstrapping was done in a very fragile way and
the package does not build in any bulk builds.

Ok pho@@
@
text
@# $NetBSD: Makefile,v 1.68 2023/12/15 13:49:38 wiz Exp $

DISTNAME=	ghc-6.8.3
PKGREVISION=	13
CATEGORIES=	lang
MASTER_SITES=	http://www.haskell.org/ghc/dist/6.8.3/
DISTFILES=	ghc-6.8.3-src.tar.bz2 \
		ghc-6.8.3-src-extralibs.tar.bz2 \
		ghc-6.4.2-src.tar.bz2 \
		ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.haskell.org/ghc/
COMMENT=	Compiler for the functional language Haskell

SITES.ghc-6.4.2-src.tar.bz2=	http://www.haskell.org/ghc/dist/6.4.2/
SITES.ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz= ${MASTER_SITE_LOCAL}

MKPIE_SUPPORTED=	no

# There is only an i386 bootstrap kit available.
ONLY_FOR_PLATFORM=	Darwin-*-i386 FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386 SunOS-*-i386

CHECK_PORTABILITY_SKIP=	distrib/prep-bin-dist-mingw

# += in a shell script, but in embedded AWK code, so it's ok.
CHECK_PORTABILITY_SKIP+=	libraries/base/cbits/ubconfc

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-ghc=${WRKDIR}/ghc-6.4.2/ghc/compiler/ghc-inplace
CONFIGURE_ENV+=		PerlCmd=${PERL5:Q}
USE_TOOLS+=		gmake perl:run

SUBST_CLASSES+=		prefix
SUBST_STAGE.prefix=	pre-configure
SUBST_FILES.prefix+=	../ghc-6.4.2/mk/bootstrap.mk
SUBST_FILES.prefix+=	../ghc-6.4.2/ghc/rts/package.conf.in
SUBST_FILES.prefix+=	../ghc-6.4.2/libraries/readline/package.conf.in
SUBST_FILES.prefix+=	libraries/readline/configure
SUBST_FILES.prefix+=	libraries/readline/readline.cabal
SUBST_FILES.prefix+=	rts/package.conf.in
SUBST_VARS.prefix=	PREFIX

pre-configure:
	cd ${WRKDIR}/ghc-6.4.2 && \
		./distrib/hc-build --enable-hc-boot-unregisterised

# The ghc compiler does normally split the generated C files into small
# parts before sending them to gcc, to enable the linker to eliminate
# unused parts.  This does however not play nice with the pkgsrc
# framework, and the result is that the build takes more than 5 times
# as long than when the files are not split.  See
#    http://mail-index.netbsd.org/tech-pkg/2006/07/30/0005.html
# for a description of the problem.
# Disable file splitting until pkgsrc has been improved.
pre-build:
	${ECHO} "SplitObjs=NO" > ${WRKSRC}/mk/build.mk

# uses the UNDO_ constants
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.68
log
@*: reset MAINTAINER/OWNER for inactive developer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.67 2022/06/28 11:34:11 wiz Exp $
@


1.67
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2021/09/27 14:30:48 nia Exp $
d12 1
a12 1
OWNER=		kristerw@@NetBSD.org
@


1.66
log
@Disable MKPIE in Haskell.

Presumably there's a way to make this work, but it probably requires
changes to the bootstrap kits.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2021/05/24 19:52:31 wiz Exp $
d4 1
a4 1
PKGREVISION=	12
@


1.65
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2020/08/31 18:09:49 wiz Exp $
d19 2
@


1.64
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2019/11/03 19:04:00 rillig Exp $
d4 1
a4 1
PKGREVISION=	11
@


1.63
log
@lang: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2019/10/25 08:55:46 gutteridge Exp $
d4 1
a4 1
PKGREVISION=	10
@


1.62
log
@ghc: adjust patch to allow for Perl >= 5.30
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2019/08/11 13:21:21 wiz Exp $
d16 2
a17 2
SITES.ghc-6.4.2-src.tar.bz2=http://www.haskell.org/ghc/dist/6.4.2/
SITES.ghc-6.4.2-i386-unknown-netbsd-hc.tar.gz=${MASTER_SITE_LOCAL}
d20 1
a20 1
ONLY_FOR_PLATFORM= Darwin-*-i386 FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386 SunOS-*-i386
@


1.61
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2019/07/08 10:36:26 nia Exp $
d4 1
a4 1
PKGREVISION=	9
@


1.60
log
@Follow some http->https redirects.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2019/05/23 19:23:02 rillig Exp $
d4 1
a4 1
PKGREVISION=	8
@


1.59
log
@all: replace SUBST_SED with the simpler SUBST_VARS

pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2018/08/22 09:45:20 wiz Exp $
d13 1
a13 1
HOMEPAGE=	http://www.haskell.org/ghc/
@


1.58
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2018/07/04 13:40:22 jperkin Exp $
d40 1
a40 1
SUBST_SED.prefix=	-e 's,@@PREFIX@@,${PREFIX},g'
@


1.57
log
@*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2016/07/09 06:38:25 wiz Exp $
d4 1
a4 1
PKGREVISION=	7
@


1.56
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2015/06/12 10:50:15 wiz Exp $
d33 1
a33 1
SUBST_STAGE.prefix=	post-patch
@


1.55
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2015/01/04 08:04:59 dholland Exp $
d4 1
a4 1
PKGREVISION=	6
@


1.54
log
@document ONLY_FOR_PLATFORM
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2014/05/29 23:36:42 wiz Exp $
d4 1
a4 1
PKGREVISION=	5
@


1.53
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2013/12/06 06:20:00 dholland Exp $
d19 1
@


1.52
log
@After all the Sturm und Drang, it turns out the only thing needed for
DESTDIR support in ghc is to turn it on. Sigh.

Remove BROKEN.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2013/10/24 10:31:02 wiz Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.51
log
@Mark remaining packages not support DESTDIR as BROKEN as decided
by pkgsrc-pmc.

If you are interested in one of these, please fix it before 2013Q4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2013/07/15 02:02:23 ryoon Exp $
a20 3
PKG_DESTDIR_SUPPORT=	none
BROKEN=			Does not support DESTDIR; will be removed after 2013Q4

@


1.50
log
@* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
  are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2013/05/31 12:41:11 wiz Exp $
d22 1
@


1.49
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2012/10/03 21:56:19 wiz Exp $
a30 1
USE_GNU_READLINE=	yes	# uses the UNDO_ constants
d58 1
@


1.48
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2012/08/17 15:49:35 jperkin Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.47
log
@Add support for SunOS-*-i386.  Tested on 32-bit SmartOS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2012/08/14 17:07:57 asau Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.46
log
@Mark packages with no staged installation support explicitly (PKG_DESTDIR_SUPPORT=none).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2010/03/24 19:43:25 asau Exp $
d19 1
a19 1
ONLY_FOR_PLATFORM= Darwin-*-i386 FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386
@


1.45
log
@Recursive revision bump for GMP update.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2009/05/20 00:58:18 wiz Exp $
d21 2
@


1.44
log
@Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2008/07/20 00:26:52 kristerw Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.43
log
@Update ghc to 6.8.3.  Thanks to Donn Cave for bugfix patches.

Changes in 6.8.3:
* The arguments to ghc-pkg now understand lists and wildcards, and
  there is a new command ghc-pkg find-module.

* The filename completion in ghci is now more intelligent.

* We now look for GHCi config files in these locations:
    ./.ghci
    $HOME/.ghc/ghci.conf
    $HOME/.ghci

* You can now give multiple -e options to GHC.

* You can now use the -prof and -threaded flags together, although
  you cannot also use +RTS -N2.

* SCC names are no longer allowed to contain spaces, as some of the
  profiling tools break if they do.

* Various changes have been made to GHC's internals, so there are some
  differences in the API exposed by the ghc package. Most notably,
  checkAndLoadModule has now been implemented.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2008/07/07 14:58:00 kristerw Exp $
d4 1
@


1.42
log
@Use the correct renamed symbol for sigprocmask.

Solves PR pkg/38510.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2008/03/31 06:18:12 cjs Exp $
d3 1
a3 2
DISTNAME=	ghc-6.8.2
PKGREVISION=	3
d5 3
a7 3
MASTER_SITES=	http://www.haskell.org/ghc/dist/6.8.2/
DISTFILES=	ghc-6.8.2-src.tar.bz2 \
		ghc-6.8.2-src-extralibs.tar.bz2 \
d11 1
a11 1
MAINTAINER=	kristerw@@NetBSD.org
@


1.41
log
@Fix another system library symbol versioning problem, this time with
socket(), and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2008/03/24 22:40:23 kristerw Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.40
log
@Use the correct renamed symbols for opendir, unsetenv, and times.

Solves PR pkg/38263.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2008/03/17 15:33:10 kristerw Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.39
log
@Update ghc to version 6.8.2.

The major changes in this release are adding Haskell Program Coverage (hpc)
support to the compiler, adding a debugger to GHCi, the first phase of the
base package split, and pointer tagging in the code generator (which should
mean most code improves by 10-15%, and as a result the compiler is also
faster).

Most of this upgrade was done by Paulo Matias in pkgsrc-wip.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2007/08/18 23:39:26 rillig Exp $
d4 1
@


1.38
log
@Matt Fleming said on tech-pkg that this package builds and installs find
on Darwin-*-i386.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2007/06/25 21:18:37 rillig Exp $
d3 1
a3 1
DISTNAME=	ghc-6.6.1
d5 3
a7 3
MASTER_SITES=	http://www.haskell.org/ghc/dist/6.6.1/
DISTFILES=	ghc-6.6.1-src.tar.bz2 \
		ghc-6.6.1-src-extralibs.tar.bz2 \
a32 2
SUBST_FILES.prefix=	libraries/readline/package.conf.in
SUBST_FILES.prefix+=	rts/package.conf.in
d36 3
@


1.37
log
@Shell scripts should not use the += operator for variable assignments.
In this case, the += operator appears in an embedded AWK script, so it
is ok.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2007/05/09 13:47:01 obache Exp $
d18 1
a18 1
ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386
@


1.36
log
@Also works on OpenBSD-*-i386.  Pointed out by Emil Skoeldberg in PR 36231.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2007/04/29 22:12:02 kristerw Exp $
d22 3
@


1.35
log
@Update lang/ghc to 6.6.1.

Many, many bugs have been fixed relative to 6.6. Far too many to list here.

The other changes in this release are:
* GHC works on Windows Vista.
* GHC can now be used to compile C++ files.
* There is an --install-signal-handlers=<yes|no> RTS flag. The main use is
  to stop GHC installing signal handlers when you are putting your code in
   a DLL.
* Newtypes can now be defined using GADT syntax.
* Linear implicit parameters are no longer accepted.
* There is a manpage for ghc and ghci.
* The building guide has been moved to the wiki.
* GHC now comes with the filepath library.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2007/03/24 17:57:19 kristerw Exp $
d18 1
a18 1
ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386
@


1.34
log
@Update ghc to version 6.6.

This version represent >19 month of development since the version 6.4,
and the list of changes is far too big to include here.  See
  http://www.haskell.org/ghc/docs/6.6/html/users_guide/release-6-6.html
for the list of user visible changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2006/11/12 21:58:38 kristerw Exp $
d3 1
a3 1
DISTNAME=	ghc-6.6
d5 3
a7 3
MASTER_SITES=	http://www.haskell.org/ghc/dist/6.6/
DISTFILES=	ghc-6.6-src.tar.bz2 \
		ghc-6.6-src-extralibs.tar.bz2 \
@


1.33
log
@The NetBSD bootstrap kit works for FreeBSD too.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2006/07/31 18:10:00 wiz Exp $
d3 1
a3 2
DISTNAME=	ghc-6.4.2
PKGREVISION=	3
d5 4
a8 2
MASTER_SITES=	http://www.haskell.org/ghc/dist/6.4.2/
DISTFILES=	ghc-6.4.2-src.tar.bz2 \
d15 1
d20 2
d23 1
a23 1
CONFIGURE_ARGS+=	--with-ghc=${WRKDIR}/ghc-boot/ghc/compiler/ghc-inplace
d28 8
a35 6
SUBST_CLASSES+=		add_paths
SUBST_STAGE.add_paths=	post-patch
SUBST_FILES.add_paths=	mk/bootstrap.mk
SUBST_FILES.add_paths+=	ghc/rts/package.conf.in
SUBST_FILES.add_paths+=	libraries/readline/package.conf.in
SUBST_SED.add_paths=	-e 's,@@PREFIX@@,${PREFIX},g'
d38 1
a38 3
	${MKDIR} ${WRKDIR}/ghc-boot \
		&& cd ${WRKSRC} && ${PAX} -rw . ${WRKDIR}/ghc-boot
	cd ${WRKDIR}/ghc-boot && \
@


1.32
log
@Fix typo and duplicate word in comment.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2006/07/31 02:07:13 kristerw Exp $
d16 1
a16 1
ONLY_FOR_PLATFORM= NetBSD-*-i386
@


1.31
log
@Update the bootstrap kit to make this build on NetBSD-current too.
Fix some hardcoded paths.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/07/27 23:45:08 kristerw Exp $
d39 1
a39 1
# unused parts.  This does however not play nice with tha pkgsrc
d44 1
a44 1
# Disable file splitting until until pkgsrc has been improved.
@


1.30
log
@Correct PLIST and distinfo.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2006/07/27 18:48:02 jlam Exp $
d4 1
a4 1
PKGREVISION=	2
d8 1
a8 2
		ghc-6.2.1-src.tar.bz2 \
		ghc-6.2.1-i386-unknown-netbsd-hc.tar.gz
d14 1
a14 2
SITES.ghc-6.2.1-i386-unknown-netbsd-hc.tar.gz=${MASTER_SITE_LOCAL}
SITES.ghc-6.2.1-src.tar.bz2=http://www.haskell.org/ghc/dist/6.2.1/
d16 1
a16 1
ONLY_FOR_PLATFORM= NetBSD-1.5*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386
d19 1
a19 1
CONFIGURE_ARGS+=	--with-ghc=${WRKDIR}/bootstrap/bin/ghc
d24 7
d32 13
a44 21
	${MV} ${WRKDIR}/ghc-6.2.1/mk/bootstrap.mk \
		${WRKDIR}/ghc-6.2.1/mk/bootstrap.mk.tmp
	${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
		< ${WRKDIR}/ghc-6.2.1/mk/bootstrap.mk.tmp \
		> ${WRKDIR}/ghc-6.2.1/mk/bootstrap.mk
	${MV} ${WRKDIR}/ghc-6.2.1/libraries/readline/package.conf.in \
		${WRKDIR}/ghc-6.2.1/libraries/readline/package.conf.in.tmp
	${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
		< ${WRKDIR}/ghc-6.2.1/libraries/readline/package.conf.in.tmp \
		> ${WRKDIR}/ghc-6.2.1/libraries/readline/package.conf.in
	${MV} ${WRKDIR}/ghc-6.2.1/ghc/rts/package.conf.in \
		${WRKDIR}/ghc-6.2.1/ghc/rts/package.conf.in.tmp
	${SED} -e 's,@@PREFIX@@,${PREFIX},g' \
		< ${WRKDIR}/ghc-6.2.1/ghc/rts/package.conf.in.tmp \
		> ${WRKDIR}/ghc-6.2.1/ghc/rts/package.conf.in
	cd ${WRKDIR}/ghc-6.2.1 && \
		./distrib/hc-build \
			--enable-hc-boot-unregisterised \
			--prefix=${WRKDIR}/bootstrap
	cd ${WRKDIR}/ghc-6.2.1 && ${GMAKE} stage=1 install

@


1.29
log
@Rename "SITES_* to "SITES.*" for file-specific lists of sites from which
to fetch the file.  This completes the renaming described in revision
1.1799 of bsd.pkg.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2006/07/09 12:22:05 augustss Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.28
log
@Update from ghc 6.4.1 to ghc 6.4.2.
I can't find any description of what has changed, but it's bug fixes
as far as I know.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2006/02/05 23:09:45 joerg Exp $
d15 2
a16 2
SITES_ghc-6.2.1-i386-unknown-netbsd-hc.tar.gz=${MASTER_SITE_LOCAL}
SITES_ghc-6.2.1-src.tar.bz2=http://www.haskell.org/ghc/dist/6.2.1/
@


1.27
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2005/12/05 20:50:25 rillig Exp $
d3 1
a3 1
DISTNAME=	ghc-6.4.1
d6 2
a7 2
MASTER_SITES=	http://www.haskell.org/ghc/dist/6.4.1/
DISTFILES=	ghc-6.4.1-src.tar.bz2 \
@


1.26
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2005/10/14 18:47:28 kristerw Exp $
d4 1
@


1.25
log
@Update ghc to version 6.4.1

"6.4.1 is a bugfix release over 6.4. No library APIs have changed, so code
that worked with 6.4 should continue to work with 6.4.1.

Many, many bugs have been fixed relative to 6.4. Far too many to list here."


Fixes PR pkg/31751.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2005/07/16 01:19:11 jlam Exp $
d21 1
a21 1
CONFIGURE_ENV+=		PerlCmd=${PERL5}
@


1.24
log
@Get rid of USE_PERL5.  The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2005/05/22 20:08:09 jlam Exp $
d3 1
a3 1
DISTNAME=	ghc-6.4
d5 2
a6 2
MASTER_SITES=	http://www.haskell.org/ghc/dist/6.4/
DISTFILES=	ghc-6.4-src.tar.bz2 \
d15 1
@


1.23
log
@Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2005/05/21 20:22:21 kristerw Exp $
d22 1
a22 2
USE_PERL5=		yes
USE_TOOLS+=		gmake
@


1.22
log
@Update ghc to 6.4.

See
  http://www.haskell.org/ghc/docs/6.4/html/users_guide/release-6-4.html
for the long list of changes since ghc-6.2.1.

In addition, GHCi and profiling support have been enabled in this
package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2005/05/04 19:02:33 kristerw Exp $
d23 1
a23 1
USE_GNU_TOOLS+=		make
@


1.21
log
@Make this build again after bl3 was enabled by default.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2005/04/11 21:46:13 tv Exp $
d3 1
a3 2
DISTNAME=	ghc-6.2.1
PKGREVISION=	1
d5 3
a7 2
MASTER_SITES=	http://www.haskell.org/ghc/dist/6.2.1/
DISTFILES=	ghc-6.2.1-src.tar.bz2 \
d19 2
a20 5
CONFIGURE_SCRIPT=	./distrib/hc-build
CONFIGURE_ARGS+=	--enable-hc-boot-unregisterised
INSTALL_MAKE_FLAGS+=	stage=1


a24 4
# Everything is done in the configure target.
do-build:
	@@${DO_NADA}

d26 2
a27 1
	${MV} ${WRKSRC}/mk/bootstrap.mk ${WRKSRC}/mk/bootstrap.mk.tmp
d29 4
a32 4
		< ${WRKSRC}/mk/bootstrap.mk.tmp \
		> ${WRKSRC}/mk/bootstrap.mk
	${MV} ${WRKSRC}/libraries/readline/package.conf.in \
		${WRKSRC}/libraries/readline/package.conf.in.tmp
d34 4
a37 4
		< ${WRKSRC}/libraries/readline/package.conf.in.tmp \
		> ${WRKSRC}/libraries/readline/package.conf.in
	${MV} ${WRKSRC}/ghc/rts/package.conf.in \
		${WRKSRC}/ghc/rts/package.conf.in.tmp
d39 10
a48 2
		< ${WRKSRC}/ghc/rts/package.conf.in.tmp \
		> ${WRKSRC}/ghc/rts/package.conf.in
@


1.20
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2004/12/19 20:06:32 kristerw Exp $
d29 2
a30 1
NO_BUILD=		yes
@


1.19
log
@Add back ONLY_FOR_PLATFORM that was removed by mistake when the package
was updated in r1.17.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2004/10/03 00:15:01 tv Exp $
a22 1
USE_BUILDLINK3=		yes
@


1.18
log
@Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2004/05/29 14:28:43 kristerw Exp $
d16 2
@


1.17
log
@Update ghc to 6.2.1.

There are too many changes compared to version 5.04.3 to list here...
The changes are described in:
  http://www.haskell.org/ghc/docs/6.0.1/html/users_guide/release-6-0.html
  http://www.haskell.org/ghc/docs/6.2.1/html/users_guide/release-6-2.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2003/12/31 17:11:57 kristerw Exp $
d4 1
@


1.16
log
@Let ONLY_FOR_PLATFORM recognize NetBSD 2.0 and future versions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2004/01/24 13:51:14 grant Exp $
d3 1
a3 1
DISTNAME=	ghc-5.04.3
d5 3
a7 2
MASTER_SITES=	http://www.haskell.org/ghc/dist/5.04.3/
DISTFILES=	ghc-5.04.3-src.tar.bz2 ghc-5.04.3-i386-unknown-netbsd-hc.tar.bz2
d13 3
a15 2
GNU_CONFIGURE=	# defined
USE_X11=	# defined
d17 4
a20 2
CONFIGURE_ENV+=		LIBS="-L${PREFIX}/lib"
AUTOCONF_REQD=2.13
d22 3
a24 1
USE_BUILDLINK2=	#defined
d26 2
a27 22
USE_GNU_READLINE=yes
USE_PERL5=	yes
USE_GNU_TOOLS+=	make

# Note: this package contains a Haskell compiler that is itself
# written in Haskell. There are basically two ways we can solve the
# bootstrap problem:
# 1. bootstrap from pre-generated C files.
# 2. first download a binary pre-built compiler and use it to compile.
# We currently use way 1.
# The problem with 2. is that it may make the package more sensitive
# to the exact NetBSD versions involved (the version of the build
# system compared to the version used to build the pre-built binary).
# On the other hand, bootstrapping GHC from C is very fragile and it
# may be harder to update the package with method 1.
# For comparison, FreeBSD currently uses method 2.

# Note: a number of non-i386 platforms, including solaris/sparc,
# osf/alpha etc are supported natively by ghc. pkg support for those
# platforms and their NetBSD varients is left as a mid-level exercise
# for the reader
ONLY_FOR_PLATFORM= NetBSD-1.5*-i386 NetBSD-1.6*-i386 NetBSD-[2-9]*-i386
d30 18
a47 11
	cd ${WRKSRC}; file=configure.in;				\
	${SED} -e "s|@@PREFIX@@|${PREFIX}|g" $${file} > $${file}.fixed;	\
	${MV} -f $${file}.fixed $${file};				\
	${AUTOCONF}

do-build:

.include "../../devel/readline/buildlink2.mk"
.include "../../devel/gmp/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/autoconf.mk"
@


1.15
log
@replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2003/12/31 17:11:57 kristerw Exp $
d41 1
a41 1
ONLY_FOR_PLATFORM= NetBSD-1.5*-i386 NetBSD-1.6*-i386
@


1.14
log
@Convert to USE_BUILDLINK2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2003/07/17 21:44:29 grant Exp $
d22 1
a22 1
USE_GMAKE=	yes
@


1.13
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2003/06/02 01:19:03 jschauma Exp $
d8 1
a8 1
MAINTAINER=	tech-pkg@@NetBSD.org
d12 7
a18 2
DEPENDS+=	readline>=4.0:../../devel/readline
DEPENDS+=	gmp>=2.0.2:../../devel/gmp
a48 3
do-configure:
	: Nothing here, configure is run twice by the hc-build script.

a49 2
	(cd ${WRKSRC}; \
	 LIBS="-L${PREFIX}/lib" ./distrib/hc-build --prefix=${PREFIX})
d53 1
@


1.12
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2003/04/29 11:27:39 augustss Exp $
d8 1
a8 1
MAINTAINER=	tech-pkg@@netbsd.org
@


1.11
log
@Update to a new GHC.  There are too numerous changes to mention; see the
GHC documentation for details.

The most import change is that this package (which has been broken since the
conversion from a.out to ELF) has been re-ported to NetBSD by Urban Boquist,
boquist@@crt.se.
@
text
@d1 1
a1 1
# $NetBSD$
d8 1
a8 1
MAINTAINER=	packages@@netbsd.org
@


1.10
log
@Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.9 2001/04/22 16:36:10 wiz Exp $
# FreeBSD Id: ports/lang/ghc/Makefile,v 1.1.1.1 1999/11/10 17:25:28 nectar Exp
d3 1
a3 2
DISTNAME=	ghc-4.04
WRKSRC=		${WRKDIR}/fptools
d5 2
a6 2
MASTER_SITES=	http://www.haskell.org/ghc/dist/4.04/
DISTFILES=	ghc-4.04-src.tar.gz ghc-4.04-x86-hc.tar.gz
d15 1
a17 1
GNU_CONFIGURE=	yes
d19 18
a36 2
CONFIGURE_ARGS+= --enable-hc-boot --libdir=${PREFIX}/lib/ghc
CONFIGURE_ENV+=	HASKELL_OBJ_FMT=${OBJECT_FMT}
a37 12
# a number of non-i386 platforms, including solaris/sparc, osf/alpha
# etc are supported natively by ghc. pkg support for those platforms
# and their NetBSD varients is left as a mid-level exercise for the reader
# XXX: doesn't even work on ELF machines
ONLY_FOR_PLATFORM= NetBSD-0.*-i386 NetBSD-1.[0-4]*-i386

# Note:
# 	- This package will bootstrap from pre-compiled C files.
# XXX: we touch the happy-generated files to ensure that when we
# switch to non-bootstrapping mode for installation, the build system
# won't try to create them.
#
d39 15
a53 15
	${SED} < ${WRKSRC}/ghc/driver/ghc.lprl \
	       > ${WRKSRC}/ghc/driver/ghc.lprl.hacked \
		'/push(@@SysLibrary, "-l$LibGmp")/s%^%push(@@SysLibrary, "-L'${PREFIX}/lib'");%' && \
		${MV} -f ${WRKSRC}/ghc/driver/ghc.lprl.hacked \
			${WRKSRC}/ghc/driver/ghc.lprl
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)

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)

@


1.9
log
@Disable on ELF machines until somebody fixes it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2001/02/17 09:07:09 agc Exp $
d5 1
a22 1
WRKSRC=		${WRKDIR}/fptools
@


1.8
log
@Move the COMMENT from being in its own file to a definition in the
package Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2000/07/20 15:41:04 tron Exp $
d27 2
a28 1
ONLY_FOR_PLATFORM= NetBSD-*-i386
@


1.7
log
@Depend on version 4.0 or newer of the "readline" package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2000/06/30 16:29:17 danw Exp $
d11 1
@


1.6
log
@Update this to build with either gmp 2.0.2 or gmp 3.0.x.
(Theoretically... the package seems to be broken.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2000/01/09 01:19:11 wiz Exp $
d12 1
a12 1
DEPENDS+=	readline-4.0:../../devel/readline
@


1.5
log
@replaced some more commands by their ${COMMAND} counterparts
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1999/12/27 18:20:11 tron Exp $
d13 1
a13 1
DEPENDS+=	gmp-2.0.2:../../devel/gmp
@


1.4
log
@- Fix broken object file format recognition.
- Patch memory management to recognize NetBSD-i386 ELF.

XXX This package still doesn't build on ELF systems due to problems with
XXX included assembler sources.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1999/12/16 14:10:14 agc Exp $
d47 1
a47 1
	echo "GhcWithHscBuiltViaC=NO" >>${WRKSRC}/mk/build.mk
@


1.3
log
@Remove embedded blank line in pre-configure target.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1999/12/15 06:00:43 proff Exp $
d20 1
a20 1
CONFIGURE_ENV+=	HASKELL_OBJ_FMT=`cat ${WRKDIR}/obj_fmt`
a34 6
	(	lnl=${WRKDIR}/longandlow; \
		${ECHO} 'int main(){exit(0);}' > $$lnl.c && \
		${CC} $$lnl.c -o $$lnl && \
		file $$lnl | ( ${EGREP} '[^a-zA-Z][Ee][Ll][Ff][^a-zA-Z]' && \
		${ECHO} ELF || ${ECHO} a.out ) \
	) > ${WRKDIR}/obj_fmt
@


1.2
log
@NetBSD changes for:

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.

-Julian Assange <proff@@iq.org>
@
text
@d1 1
a1 1
# $NetBSD$
a40 1

@


1.1
log
@Initial revision
@
text
@d1 2
a2 6
# New ports collection makefile for:	ghc
# Version required:			4.04
# Date created:				28 August 1999
# Whom:					Simon Marlow <simonmar@@microsoft.com>
#
# $FreeBSD: ports/lang/ghc/Makefile,v 1.1.1.1 1999/11/10 17:25:28 nectar Exp $
d7 4
a10 1
DISTFILES=	ghc-4.04-src${EXTRACT_SUFX} ghc-4.04-x86-hc${EXTRACT_SUFX}
d12 2
a13 1
MAINTAINER=	simonmar@@microsoft.com
d19 3
a21 1
CONFIGURE_ARGS= --enable-hc-boot --libdir=${PREFIX}/lib/ghc
d23 4
a26 1
WRKSRC=		${WRKDIR}/fptools
d29 1
a29 3
# 	- This port will bootstrap from pre-compiled C files.
# 	- ToDo: bootstrap using existing compiler, if one is installed.

d34 13
d48 4
a51 4
	@@${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)
d54 2
a55 2
	@@echo "GhcWithHscBuiltViaC=NO" >>${WRKSRC}/mk/build.mk
	@@(cd ${WRKSRC}/ghc/lib; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} clean boot all)
d57 1
a57 1
.include <bsd.port.mk>
@


1.1.1.1
log
@import pkgsrc/lang/ghc from FreeBSD-current
@
text
@@
