Skip site navigation (1)Skip section navigation (2)
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:   ports/96548: [PATCH] lang/ghc: add freealut dependency, make portlint happier
Message-ID:  <20060430132105.0E24AC9FF@merlin.emma.line.org>
Resent-Message-ID: <200604301330.k3UDUE8L028917@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96548
>Category:       ports
>Synopsis:       [PATCH] lang/ghc: add freealut dependency, make portlint happier
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 30 13:30:13 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060430132105.0E24AC9FF>