From matthias.andree@gmx.de  Sun Apr 30 13:21:58 2006
Return-Path: <matthias.andree@gmx.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 97DBF16A412
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Apr 2006 13:21:58 +0000 (UTC)
	(envelope-from matthias.andree@gmx.de)
Received: from m2a2.dyndns.org (p50912B6D.dip0.t-ipconnect.de [80.145.43.109])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A73CB43D58
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Apr 2006 13:21:55 +0000 (GMT)
	(envelope-from matthias.andree@gmx.de)
Received: by merlin.emma.line.org (Postfix, from userid 1001)
	id 0E24AC9FF; Sun, 30 Apr 2006 15:21:05 +0200 (CEST)
Message-Id: <20060430132105.0E24AC9FF@merlin.emma.line.org>
Date: Sun, 30 Apr 2006 15:21:05 +0200 (CEST)
From: Matthias Andree <matthias.andree@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: simonmar@microsoft.com
Subject: [PATCH] lang/ghc: add freealut dependency, make portlint happier
X-Send-Pr-Version: 3.113
X-GNATS-Notify: simonmar@microsoft.com

>Number:         96548
>Category:       ports
>Synopsis:       [PATCH] lang/ghc: add freealut dependency, make portlint happier
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    oliver
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 30 13:30:13 GMT 2006
>Closed-Date:    Tue Jun 13 17:37:47 GMT 2006
>Last-Modified:  Tue Jun 13 17:37:47 GMT 2006
>Originator:     Matthias Andree
>Release:        FreeBSD 6.1-RC i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 6.1-RC FreeBSD 6.1-RC #0: Mon Apr 17 13:55:33 CEST 2006
>Description:
This patch adds a missing freealut dependency (the build breaks if freealut
isn't installed and WITHOUT_X11 is unset) and shuffles a few variables around
to make portlint happy.

However, ghc still doesn't compile for me. I'm out of time now, and have used
the package from packages-6.1-release for the nonce.

Maintainer (simonmar@microsoft.com) is CC'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- ghc-6.4.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/ghc/Makefile /usr/home/emma/ports/lang/ghc/Makefile
--- /usr/ports/lang/ghc/Makefile	Sun Apr 30 11:59:56 2006
+++ /usr/home/emma/ports/lang/ghc/Makefile	Sun Apr 30 12:33:23 2006
@@ -10,12 +10,16 @@
 CATEGORIES=	lang haskell
 MASTER_SITES=	http://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
 		http://www.haskell.org/ghc/dist/${PORTVERSION}/FreeBSD/:boot
+DISTFILES=	ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source
+
 PATCH_SITES=	http://www-i2.informatik.rwth-aachen.de/~stolz/FreeBSD/
 PATCHFILES=	patch-ghc-libraries_OpenAL.diff
 
+MAINTAINER=	simonmar@microsoft.com
+COMMENT=	A Compiler for the functional language Haskell
+
 ONLY_FOR_ARCHS=	i386
 
-SRC_DIST=	ghc-${PORTVERSION}-src${EXTRACT_SUFX}:source
 BOOT_DIST=	ghc-${PORTVERSION}-i386-unknown-freebsd-boot${EXTRACT_SUFX}:boot
 BOOT_DIST5=	ghc-${PORTVERSION}-i386-unknown-freebsd5-boot${EXTRACT_SUFX}:boot
 
@@ -25,8 +29,6 @@
 
 .include <bsd.port.pre.mk>
 
-DISTFILES=	${SRC_DIST}
-
 .if ${OSVERSION} < 500000
 DISTFILES+=	${BOOT_DIST}
 .else
@@ -44,11 +46,7 @@
 LIB_DEPENDS+=	gmp.6:${PORTSDIR}/math/libgmp4 \
 		readline.5:${PORTSDIR}/devel/readline
 
-MAINTAINER=	simonmar@microsoft.com
-COMMENT=	A Compiler for the functional language Haskell
-
 USE_PERL5=	yes
-USE_REINPLACE=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
@@ -59,6 +57,7 @@
 .else
 LIB_DEPENDS+=	glut.4:${PORTSDIR}/graphics/libglut \
 		openal.0:${PORTSDIR}/audio/openal
+LIB_DEPENDS+=	alut.0:${PORTSDIR}/audio/freealut
 USE_GL=		yes
 PLIST_SUB+=	X11="" OPENAL=""
 CONFIGURE_ARGS+=--enable-openal
--- ghc-6.4.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Apr 30 13:32:14 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96548 
Responsible-Changed-From-To: freebsd-ports-bugs->oliver 
Responsible-Changed-By: oliver 
Responsible-Changed-When: Mon May 1 21:45:31 UTC 2006 
Responsible-Changed-Why:  
there is sth. comming which disabled openal since 6.4.1 doesn't 
support recent openal 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96548 

From: "Simon Marlow" <simonmar@microsoft.com>
To: <bug-followup@FreeBSD.org>
Cc:  
Subject: RE: ports/96548: [PATCH] lang/ghc: add freealut dependency, make portlint happier
Date: Tue, 2 May 2006 13:49:11 +0100

 On 30 April 2006 14:32, Edwin Groothuis wrote:
 
 > Maintainer of lang/ghc,
 >=20
 > Please note that PR ports/96548 has just been submitted.
 >=20
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >=20
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/96548
 
 approved.
State-Changed-From-To: feedback->closed 
State-Changed-By: oliver 
State-Changed-When: Tue Jun 13 17:37:33 UTC 2006 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96548 
>Unformatted:
