Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2004 22:35:21 -0400 (EDT)
From:      Michael Johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70752: [MAINTAINER] lang/libjit: [fix build on 5.2-CURRENT]
Message-ID:  <200408210235.i7L2ZLTW045760@gentoo.ahze.net>
Resent-Message-ID: <200408210240.i7L2eFLq012562@freefall.freebsd.org>

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

>Number:         70752
>Category:       ports
>Synopsis:       [MAINTAINER] lang/libjit: [fix build on 5.2-CURRENT]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 02:40:15 GMT 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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