From linimon@lonesome.com  Sun Oct  5 12:37:02 2003
Return-Path: <linimon@lonesome.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 47C4F16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Oct 2003 12:37:02 -0700 (PDT)
Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 547A644001
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Oct 2003 12:37:01 -0700 (PDT)
	(envelope-from linimon@lonesome.com)
Received: from lonesome.lonesome.com (cs242746-11.austin.rr.com [24.27.46.11])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by mail.soaustin.net (Postfix) with ESMTP id 44DCF140B4
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Oct 2003 14:36:57 -0500 (CDT)
Received: from lonesome.lonesome.com (localhost.lonesome.com [127.0.0.1])
	by lonesome.lonesome.com (8.12.9/8.12.9) with ESMTP id h95JbG1K013128
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 5 Oct 2003 14:37:16 -0500 (CDT)
	(envelope-from linimon@lonesome.lonesome.com)
Received: (from linimon@localhost)
	by lonesome.lonesome.com (8.12.9/8.12.9/Submit) id h95JbGFR013127;
	Sun, 5 Oct 2003 14:37:16 -0500 (CDT)
	(envelope-from linimon)
Message-Id: <200310051937.h95JbGFR013127@lonesome.lonesome.com>
Date: Sun, 5 Oct 2003 14:37:16 -0500 (CDT)
From: Mark Linimon <linimon@lonesome.com>
Reply-To: Mark Linimon <linimon@lonesome.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] mark emulators/ia64sim as broken for gcc 3
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57612
>Category:       ports
>Synopsis:       [patch] mark emulators/ia64sim as broken for gcc 3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 05 12:40:24 PDT 2003
>Closed-Date:    Tue Oct 07 02:10:15 PDT 2003
>Last-Modified:  Tue Oct 07 02:10:15 PDT 2003
>Originator:     Mark Linimon
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
Lonesome Dove Computing Services
>Environment:
System: FreeBSD lonesome.lonesome.com 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Fri Sep 5 01:19:33 CDT 2003 linimon@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA_DEBUG i386
>Description:
	Per bento logs, this port does not seem to build with gcc3.
	Mark it so.
>How-To-Repeat:
	make install (5.X)
>Fix:

--- ia64sim/Makefile.dist	Thu Feb 20 11:21:48 2003
+++ ia64sim/Makefile	Sun Oct  5 14:32:12 2003
@@ -17,6 +17,12 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	IA64 simulator (Intel(R) Architecture 64)
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 501000
+BROKEN=		"does not build with latest gcc"
+.endif
+
 EXTRACT_BEFORE_ARGS=	-qLa
 WRKSRC=		${WRKDIR}/home/chuck/ia64simcc
 USE_ZIP=	yes
@@ -34,4 +40,4 @@
 	${INSTALL_DATA} ${WRKSRC}/doc/ia64user.txt ${WRKSRC}/readme ${DOCSDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: roam 
State-Changed-When: Tue Oct 7 00:58:20 PDT 2003 
State-Changed-Why:  
Are you sure that 501000 would be the best choice for the OSVERSION 
check?  According to the Porter's Handbook list of __FreeBSD_version 
values, the last GCC snapshot import was marked by bumping to 501103; 
could we possibly use that? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57612 
State-Changed-From-To: feedback->closed 
State-Changed-By: roam 
State-Changed-When: Tue Oct 7 02:09:41 PDT 2003 
State-Changed-Why:  
Committed, thanks! 
I also had to move the USE_ZIP a bit earler - before the bsd.port.pre.mk 
inclusion - since the port was a bit confused about its extract suffix :) 

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