From stephen@cauchy.math.missouri.edu  Sun Sep 14 19:12:53 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 5A34E1065676
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 14 Sep 2008 19:12:53 +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 207DA8FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 14 Sep 2008 19:12:52 +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.2/8.14.2) with ESMTP id m8EJCHgo004373
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 14 Sep 2008 14:12:17 -0500 (CDT)
	(envelope-from stephen@cauchy.math.missouri.edu)
Received: (from stephen@localhost)
	by cauchy.math.missouri.edu (8.14.2/8.14.2/Submit) id m8EJCHdu004372;
	Sun, 14 Sep 2008 14:12:17 -0500 (CDT)
	(envelope-from stephen)
Message-Id: <200809141912.m8EJCHdu004372@cauchy.math.missouri.edu>
Date: Sun, 14 Sep 2008 14:12:17 -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
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         127386
>Category:       ports
>Synopsis:       graphics/opendx does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 14 19:20:01 UTC 2008
>Closed-Date:    Tue Oct 14 20:55:29 UTC 2008
>Last-Modified:  Tue Oct 14 21:00:09 UTC 2008
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: amdmi3 
Responsible-Changed-When: Mon Oct 13 21:53:33 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127386 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Tue Oct 14 20:55:28 UTC 2008 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/127386: commit references a PR
Date: Tue, 14 Oct 2008 20:55:16 +0000 (UTC)

 amdmi3      2008-10-14 20:55:08 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/opendx      Makefile pkg-plist 
   Log:
   - Don't install .bat file, unbreak
   - While here, minor cleanups + remove obsolete 5.x condition
   
   PR:             127386
   Submitted by:   Stephen Montgomery-Smith <stephen at math dot missouri dot edu>
   
   Revision  Changes    Path
   1.58      +7 -14     ports/graphics/opendx/Makefile
   1.10      +1 -1      ports/graphics/opendx/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
