Date: Tue, 24 Feb 2004 11:12:43 +0100 (CET) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: obraun@FreeBSD.org Subject: ports/63299: [patch] devel/hs-hat: fix build (bento) Message-ID: <200402241012.i1OAChUo069533@menelaos.informatik.rwth-aachen.de> Resent-Message-ID: <200402241020.i1OAKBOD000967@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63299 >Category: ports >Synopsis: [patch] devel/hs-hat: fix build (bento) >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: Tue Feb 24 02:20:11 PST 2004 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 4.9-STABLE i386 >Organization: Lehrstuhl für Informatik II >Environment: System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #12: Mon Dec 8 15:14:27 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386 >Description: Fix build: - pass missing packages (post-patch) - WITH_NHC98 is an OPTION - use PKGNAMESUFFIX (-ghc5/-nhc98) - remove BROKEN-tag Noticed by: bento/kris >How-To-Repeat: http://bento.freebsd.org/errorlogs/i386-4-latest/hs-hat-2.02_1.log >Fix: --- hshat begins here --- diff -urN /usr/ports/devel/hs-hat/Makefile hs-hat/Makefile --- /usr/ports/devel/hs-hat/Makefile Tue Feb 24 08:55:22 2004 +++ hs-hat/Makefile Tue Feb 24 11:08:46 2004 @@ -21,9 +21,7 @@ USE_REINPLACE= yes USE_GNOME= glib12 -BROKEN= "Does not compile" -DEPRECATED= ${BROKEN} -EXPIRATION_DATE=2004-04-19 +OPTIONS= NHC98 "Build with nhc98" off .include <bsd.port.pre.mk> @@ -34,10 +32,12 @@ .if defined(WITH_NHC98) BUILD_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98 RUN_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98 +PKGNAMESUFFIX= -nhc98 .else BUILD_DEPENDS= hmake:${PORTSDIR}/devel/hs-hmake \ ghc-5.04.3:${PORTSDIR}/lang/ghc5 RUN_DEPENDS+= ghc-5.04.3:${PORTSDIR}/lang/ghc5 +PKGNAMESUFFIX= -ghc5 .endif ALL_TARGET= hat @@ -83,6 +83,12 @@ post-patch: @${REINPLACE_CMD} -e "s|glib-config|${GLIB_CONFIG}|" \ ${WRKSRC}/configure ${WRKSRC}/src/hattools/Makefile +.if !(defined(WITH_NHC98)) +.for f in hattrans/Makefile hatlib/Makefile + @${REINPLACE_CMD} -e "s/package lang/package lang -package haskell98/" ${WRKSRC}/src/${f} +.endfor + @${REINPLACE_CMD} -e "s/package lang/package lang -package base -package haskell98/" ${WRKSRC}/src/hattools/Makefile +.endif post-install: .if !defined(WITH_NHC98) --- hshat ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402241012.i1OAChUo069533>