ports/127386: graphics/opendx does not build
Stephen Montgomery-Smith
stephen at math.missouri.edu
Sun Sep 14 19:20:01 UTC 2008
>Number: 127386
>Category: ports
>Synopsis: graphics/opendx does not build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 14 19:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Stephen Montgomery-Smith
>Release: FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD cauchy 7.0-STABLE FreeBSD 7.0-STABLE #0: Mon Jul 14 15:26:47 CDT 2008 stephen at cauchy:/usr/obj/usr/src/sys/GENERIC i386
>Description:
graphics/opendx port does not build unless WITHOUT_JAVA is set.
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.6.20080830094339/opendx-4.4.0_7.log
>Fix:
Turn WITHOUT_JAVA into WITH_JAVA. This seems to make it work for amd64 as
well. I do admit that it is a bandaid fix. But it works.
--- ../opendx/Makefile 2008-09-14 13:56:22.000000000 -0500
+++ Makefile 2008-09-14 13:56:10.000000000 -0500
@@ -50,7 +50,7 @@
CONFIGURE_ARGS+= --without-netcdf
.endif
-.if !defined(WITHOUT_JAVA)
+.if defined(WITH_JAVA)
USE_JAVA= yes
JAVA_VERSION= 1.3+
BUILD_DEPENDS+= ${JAVALIBDIR}/npcosmop211.jar:${PORTSDIR}/graphics/cosmoplayer
@@ -66,10 +66,6 @@
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
-BROKEN= Does not compile
-.endif
-
.if ${OSVERSION} >= 502126
PLIST_SUB+= UNAMEP=${ARCH} ARCHDIR=""
.else
@@ -88,7 +84,7 @@
post-install:
@${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE}
-.if !defined(WITHOUT_JAVA)
+.if defined(WITH_JAVA)
@${RM} ${PREFIX}/dx/java/server/bin/startserver.bat
${CHMOD} 0775 ${PREFIX}/dx/java/server/nets
${TOUCH} ${DIR2PRUNE:S|^|${PREFIX}/|:S|$|/.keepme|}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list