Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2010 05:23:00 GMT
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152732: [patch] graphics/jogl Fix build with ant 1.8.1
Message-ID:  <201012010523.oB15N0QW084377@red.freebsd.org>
Resent-Message-ID: <201012010530.oB15UIhq035757@freefall.freebsd.org>

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

>Number:         152732
>Category:       ports
>Synopsis:       [patch] graphics/jogl Fix build with ant 1.8.1
>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:   Wed Dec 01 05:30:17 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD vmware.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r216082: Tue Nov 30 11:31:31 PST 2010     rfarmer@vmware.predatorlabs.net:/usr/obj/usr/src/sys/VMWARE  i386
>Description:
Fix a couple nits in build.xml that are causing build failure with new ant.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: files/patch-gluegen_make_build.xml
===================================================================
RCS file: /home/ncvs/ports/graphics/jogl/files/patch-gluegen_make_build.xml,v
retrieving revision 1.1
diff -u -r1.1 patch-gluegen_make_build.xml
--- files/patch-gluegen_make_build.xml	11 Jun 2008 13:08:32 -0000	1.1
+++ files/patch-gluegen_make_build.xml	1 Dec 2010 05:02:11 -0000
@@ -1,5 +1,5 @@
---- gluegen/make/build.xml.orig	2008-05-14 18:54:48.000000000 +1000
-+++ gluegen/make/build.xml	2008-06-09 10:41:50.000000000 +1000
+--- gluegen/make/build.xml.orig	2008-05-14 18:54:48.000000000 -0700
++++ gluegen/make/build.xml	2010-10-27 03:34:48.000000000 -0700
 @@ -11,8 +11,8 @@
    -->
  <project name="GlueGen" basedir="." default="all">
@@ -11,12 +11,30 @@
  
    <target name="load.user.properties" unless="user.properties.file">
      <!-- Load the user specified properties file that defines various host
+@@ -95,7 +95,7 @@
+     - @param output.dir the directory to write the generated files to.  If
+     -        the directory does not exist, it will be created.
+     -->
+-  <target name="generate.c.grammar">
++  <target name="generate.c.grammar" depends="init">
+     <!-- Generate the Java files -->
+     <antlr target="${output.dir}/${target}" outputdirectory="${output.dir}">
+       <classpath refid="antlr.classpath" />
+@@ -111,7 +111,7 @@
+     - @param output.dir the directory to write the generated files to.  If
+     -        the directory does not exist, it will be created.
+    -->
+-  <target name="generate.c.grammar.glib">
++  <target name="generate.c.grammar.glib" depends="init">
+     <!-- Generate the Java files -->
+     <antlr target="${output.dir}/${target}" glib="${output.dir}/${glib}" outputdirectory="${output.dir}">
+       <classpath refid="antlr.classpath" />
 @@ -281,7 +281,7 @@
        <property name="compiler.cfg.id"                      value="compiler.cfg.freebsd" />
        <property name="linker.cfg.id"                        value="linker.cfg.linux" />
        <property name="c.src.dir"                            value="unix" />
 -      <property name="java.includes.dir.freebsd"            value="${java.includes.dir}/freebsd" />
-+      <property name="java.includes.dir.platform"            value="${java.includes.dir}/freebsd" />
++      <property name="java.includes.dir.platform"           value="${java.includes.dir}/freebsd" />
      </target>
  
      <target name="declare.hpux" if="isHPUX">


>Release-Note:
>Audit-Trail:
>Unformatted:



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