Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2008 18:00:46 -0500 (CDT)
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/128326: graphics/opendx does not build with amd64
Message-ID:  <200810232300.m9NN0kGd091106@cauchy.math.missouri.edu>
Resent-Message-ID: <200810232310.m9NNA5J6051604@freefall.freebsd.org>

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

>Number:         128326
>Category:       ports
>Synopsis:       graphics/opendx does not build with amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 23 23:10:04 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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