ports/128326: graphics/opendx does not build with amd64
Stephen Montgomery-Smith
stephen at math.missouri.edu
Thu Oct 23 23:10:05 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list