From lizard@unsane.de  Sun Jul 21 03:13:50 2002
Return-Path: <lizard@unsane.de>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C7BAB37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Jul 2002 03:13:50 -0700 (PDT)
Received: from unsane.de (p50804CDD.dip.t-dialin.net [80.128.76.221])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4421943E31
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Jul 2002 03:13:50 -0700 (PDT)
	(envelope-from lizard@unsane.de)
Received: from localhost (localhost.unsane.de [127.0.0.1])
	by unsane.de (Postfix) with ESMTP id 76FD8F6
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Jul 2002 12:13:48 +0200 (CEST)
Received: by unsane.de (Postfix, from userid 1001)
	id A4EFBCA; Sun, 21 Jul 2002 12:13:46 +0200 (CEST)
Message-Id: <20020721101346.A4EFBCA@unsane.de>
Date: Sun, 21 Jul 2002 12:13:46 +0200 (CEST)
From: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER UPDATE] Fix devel/hat for bento
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         40828
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] Fix devel/hat for bento
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obraun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 21 03:20:01 PDT 2002
>Closed-Date:    Wed Aug 21 08:33:21 PDT 2002
>Last-Modified:  Wed Aug 21 08:33:21 PDT 2002
>Originator:     Oliver Braun
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD galore.unsane.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Jul 11 15:55:17 CEST 2002 root@galore.unsane.de:/usr/obj/usr/src/sys/GALORE_OB i386


>Description:

devel/hat fails on bento, because bento does not recognize -p for uname.
Added files/patch-script::harch to fix this problem.

Regards,
         Olli
>How-To-Repeat:
>Fix:

--- script/harch.orig	Mon May 27 10:30:55 2002
+++ script/harch	Mon May 27 10:31:11 2002
@@ -13,8 +13,8 @@
 
 if uname >/dev/null 2>&1
 then
-  if uname -p >/dev/null 2>&1
-  then PROCESSOR=`uname -p`
+  if uname -m >/dev/null 2>&1
+  then PROCESSOR=`uname -m`
     case "$PROCESSOR" in
     unknown|*\ *)
       PROCESSOR=`uname -m`
>Release-Note:
>Audit-Trail:

From: Oliver Braun <obraun@informatik.unibw-muenchen.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/40828: [MAINTAINER UPDATE] Fix devel/hat for bento
Date: Tue, 23 Jul 2002 21:13:53 +0200

 hat does not build with ghc-5.04. I am working with the developers on
 this, but it is no FreeBSD-specific problem.
 
 For the time being set FORBIDDEN if WITHOUT_NHC98 is defined and undef
 WITH_GHC if WITH_GHC is defined.
 
 Please apply this patch and add files/patch-script::harch from my
 previous message in this PR.
 
 Regards,
          Olli
 
 
 Index: Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /home/ncvs/ports/devel/hat/Makefile,v
 retrieving revision 1.15
 diff -u -r1.15 Makefile
 --- Makefile	15 Jul 2002 17:21:53 -0000	1.15
 +++ Makefile	23 Jul 2002 19:06:18 -0000
 @@ -12,6 +12,14 @@
 =20
  MAINTAINER=3D	obraun@informatik.unibw-muenchen.de
 =20
 +.if defined(WITHOUT_NHC98)
 +FORBIDDEN=3D	does not build with ghc-5.04 for the time being
 +.endif
 +
 +.if defined(WITH_GHC)
 +.undef WITH_GHC
 +.endif
 +
  .if !defined(WITHOUT_NHC98)
  BUILD_DEPENDS=3D	nhc98:${PORTSDIR}/lang/nhc98
  RUN_DEPENDS=3D	nhc98:${PORTSDIR}/lang/nhc98
 @@ -63,8 +71,9 @@
  	@${ECHO_CMD} " HAT will be built and installed for ghc only."
  .else
  	@${ECHO_CMD} " HAT will be built and installed for nhc98 only."
 -	@${ECHO_CMD} " Define WITH_GHC      to install for ghc, too."
 -	@${ECHO_CMD} " Define WITHOUT_NHC98 to install for ghc only."
 +#	@${ECHO_CMD} " Define WITH_GHC      to install for ghc, too."
 +#	@${ECHO_CMD} " Define WITHOUT_NHC98 to install for ghc only."
 +	@${ECHO_CMD} " HAT does not build with ghc-5.04 for the time being."
  .endif
  	@${ECHO_CMD} ""
 =20

From: "David W. Chapman Jr." <dwcjr@inethouston.net>
To: freebsd-gnats-submit@FreeBSD.org,
	obraun@informatik.unibw-muenchen.de
Cc:  
Subject: Re: ports/40828: [MAINTAINER UPDATE] Fix devel/hat for bento
Date: Sun, 11 Aug 2002 18:06:15 -0500

 You sent your patch in MIME to the list, could you post it in plain text?
 

From: Oliver Braun <obraun@informatik.unibw-muenchen.de>
To: "David W. Chapman Jr." <dwcjr@inethouston.net>
Cc: freebsd-ports@FreeBSD.org
Subject: Re: ports/40828: [MAINTAINER UPDATE] Fix devel/hat for bento
Date: Mon, 12 Aug 2002 01:17:45 +0200

 >  You sent your patch in MIME to the list, could you post it in plain text?
 
 Of course, sorry.
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/devel/hat/Makefile,v
 retrieving revision 1.15
 diff -u -r1.15 Makefile
 --- Makefile	15 Jul 2002 17:21:53 -0000	1.15
 +++ Makefile	11 Aug 2002 23:16:57 -0000
 @@ -12,6 +12,14 @@
  
  MAINTAINER=	obraun@informatik.unibw-muenchen.de
  
 +.if defined(WITHOUT_NHC98)
 +FORBIDDEN=	does not build with ghc-5.04 for the time being
 +.endif
 +
 +.if defined(WITH_GHC)
 +.undef WITH_GHC
 +.endif
 +
  .if !defined(WITHOUT_NHC98)
  BUILD_DEPENDS=	nhc98:${PORTSDIR}/lang/nhc98
  RUN_DEPENDS=	nhc98:${PORTSDIR}/lang/nhc98
 @@ -63,8 +71,9 @@
  	@${ECHO_CMD} " HAT will be built and installed for ghc only."
  .else
  	@${ECHO_CMD} " HAT will be built and installed for nhc98 only."
 -	@${ECHO_CMD} " Define WITH_GHC      to install for ghc, too."
 -	@${ECHO_CMD} " Define WITHOUT_NHC98 to install for ghc only."
 +#	@${ECHO_CMD} " Define WITH_GHC      to install for ghc, too."
 +#	@${ECHO_CMD} " Define WITHOUT_NHC98 to install for ghc only."
 +	@${ECHO_CMD} " HAT does not build with ghc-5.04 for the time being."
  .endif
  	@${ECHO_CMD} ""
  
Responsible-Changed-From-To: freebsd-ports->obraun 
Responsible-Changed-By: obraun 
Responsible-Changed-When: Wed Aug 21 05:18:39 PDT 2002 
Responsible-Changed-Why:  
I am submitter and maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40828 
State-Changed-From-To: open->closed 
State-Changed-By: obraun 
State-Changed-When: Wed Aug 21 08:33:01 PDT 2002 
State-Changed-Why:  
Committed, thanks! 

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