From stephen@cauchy.math.missouri.edu  Thu Oct 23 23:01:12 2008
Return-Path: <stephen@cauchy.math.missouri.edu>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9DE801065683
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Oct 2008 23:01:12 +0000 (UTC)
	(envelope-from stephen@cauchy.math.missouri.edu)
Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.184.213])
	by mx1.freebsd.org (Postfix) with ESMTP id 6F9F18FC18
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Oct 2008 23:01:12 +0000 (UTC)
	(envelope-from stephen@cauchy.math.missouri.edu)
Received: from cauchy.math.missouri.edu (localhost [127.0.0.1])
	by cauchy.math.missouri.edu (8.14.3/8.14.3) with ESMTP id m9NN0kvp091107
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Oct 2008 18:00:46 -0500 (CDT)
	(envelope-from stephen@cauchy.math.missouri.edu)
Received: (from stephen@localhost)
	by cauchy.math.missouri.edu (8.14.3/8.14.3/Submit) id m9NN0kGd091106;
	Thu, 23 Oct 2008 18:00:46 -0500 (CDT)
	(envelope-from stephen)
Message-Id: <200810232300.m9NN0kGd091106@cauchy.math.missouri.edu>
Date: Thu, 23 Oct 2008 18:00:46 -0500 (CDT)
From: Stephen Montgomery-Smith <stephen@math.missouri.edu>
Reply-To: Stephen Montgomery-Smith <stephen@math.missouri.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: graphics/opendx does not build with amd64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         128326
>Category:       ports
>Synopsis:       graphics/opendx does not build with amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 23:10:04 UTC 2008
>Closed-Date:    Sat Oct 25 21:34:04 UTC 2008
>Last-Modified:  Sat Oct 25 21:34:04 UTC 2008
>Originator:     Stephen Montgomery-Smith
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
FreeBSD laptop3.gateway.2wire.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Oct 11 19:31:46 CDT 2008     stephen@laptop3.gateway.2wire.net:/usr/obj/usr/src/sys/LAPTOP3  amd64


	
>Description:
The graphics/opendx doesn't build on amd64 architecture unless WITHOUT_JAVA is set.
>How-To-Repeat:
	
>Fix:

diff -ur opendx/Makefile opendx/Makefile
--- opendx/Makefile	2008-10-14 16:56:53.000000000 -0500
+++ opendx/Makefile	2008-10-23 17:46:01.000000000 -0500
@@ -50,6 +50,12 @@
 CONFIGURE_ARGS+=	--without-netcdf
 .endif
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
+WITHOUT_JAVA=	yes
+.endif
+
 .if !defined(WITHOUT_JAVA)
 USE_JAVA=	yes
 JAVA_VERSION=	1.3+
@@ -66,8 +72,6 @@
 
 PLIST_SUB+=	UNAMEP=${ARCH}
 
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${RM} -f ${WRKSRC}/include/stamp-h.in
 .for dir in doc help html man


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Thu Oct 23 23:32:31 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=128326 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Sat Oct 25 20:31:20 UTC 2008 
State-Changed-Why:  
Hi, 

Could you please test if this issue still exists with an fresh ports 
tree? Thanks for your report. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=128326 

From: Stephen Montgomery-Smith <stephen@math.missouri.edu>
To: bug-followup@FreeBSD.org, stephen@math.missouri.edu
Cc:  
Subject: Re: ports/128326: graphics/opendx does not build with amd64
Date: Sat, 25 Oct 2008 16:21:06 -0500

 Actually it looks like the problem has been quite nicely fixed by amdmi3 
 who went above and beyond when submitting PR 128329 (see also 127386).
 
 So, yes, the problem is resolved, and this PR can be closed.
 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Oct 25 21:34:03 UTC 2008 
State-Changed-Why:  
fixed, thanks for your report. 

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