From ahze@gentoo.ahze.net  Sat Aug 21 02:35:23 2004
Return-Path: <ahze@gentoo.ahze.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 79A4316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 02:35:23 +0000 (GMT)
Received: from imf18aec.mail.bellsouth.net (imf18aec.mail.bellsouth.net [205.152.59.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E681243D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Aug 2004 02:35:22 +0000 (GMT)
	(envelope-from ahze@gentoo.ahze.net)
Received: from gentoo.ahze.net ([68.209.163.3])
          by imf18aec.mail.bellsouth.net
          (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP
          id <20040821023522.OLED1792.imf18aec.mail.bellsouth.net@gentoo.ahze.net>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 20 Aug 2004 22:35:22 -0400
Received: (from root@localhost)
	by gentoo.ahze.net (8.13.1/8.13.1/Submit) id i7L2ZLTW045760;
	Fri, 20 Aug 2004 22:35:21 -0400 (EDT)
	(envelope-from ahze)
Message-Id: <200408210235.i7L2ZLTW045760@gentoo.ahze.net>
Date: Fri, 20 Aug 2004 22:35:21 -0400 (EDT)
From: Michael Johnson <ahze@ahze.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] lang/libjit: [fix build on 5.2-CURRENT]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70752
>Category:       ports
>Synopsis:       [MAINTAINER] lang/libjit: [fix build on 5.2-CURRENT]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    krion
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 02:40:15 GMT 2004
>Closed-Date:    Sat Aug 21 06:12:08 GMT 2004
>Last-Modified:  Sat Aug 21 06:12:08 GMT 2004
>Originator:     Michael Johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #62: Sun Aug 15 11:15:24 EDT 2004
>Description:
- Fix build on 5.2-CURRENT

I tested this with 502128 & 502119 

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

--- libjit-0.0.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /usr/opt/cvs/freebsd-src/ports/lang/libjit/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	9 Aug 2004 08:27:31 -0000	1.4
+++ Makefile	21 Aug 2004 02:29:45 -0000
@@ -28,6 +28,12 @@
 BROKEN=		"Does not compile on amd64"
 .endif
 
+post-patch:
+.if ${OSVERSION} >=	502123
+	@${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \
+		${WRKSRC}/config.h.in
+.endif
+
 post-configure:
 .if ${OSVERSION} >=	502123
 	@${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \
--- libjit-0.0.4.patch ends here ---

>Release-Note:
>Audit-Trail:

From: Michael Johnson <ahze@ahze.net>
To: Michael Johnson <ahze@ahze.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/70752: [MAINTAINER] lang/libjit: [fix build on 5.2-CURRENT]
Date: Fri, 20 Aug 2004 22:43:32 -0400

 after reviewing when tgmath.h was added to freebsd the OSVERSION should 
 be 502128
   please change it before committing ? =)
 Michael
 
Responsible-Changed-From-To: freebsd-ports-bugs->krion 
Responsible-Changed-By: krion 
Responsible-Changed-When: Sat Aug 21 06:05:29 GMT 2004 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70752 
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sat Aug 21 06:11:59 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

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