Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2008 08:58:51 GMT
From:      Peter Peremy <peterjeremy@optushome.com.au>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127107: [patch] Fix graphics/jogl dependencies
Message-ID:  <200809050858.m858wplV016979@www.freebsd.org>
Resent-Message-ID: <200809050900.m8590BWG048623@freefall.freebsd.org>

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

>Number:         127107
>Category:       ports
>Synopsis:       [patch] Fix graphics/jogl dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 05 09:00:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Peter Peremy
>Release:        7.0-STABLE
>Organization:
n/a
>Environment:
FreeBSD turion.vk2pj.dyndns.org 7.0-STABLE FreeBSD 7.0-STABLE #22: Sat May 17 09:56:40 EST 2008     root@turion.vk2pj.dyndns.org:/usr/obj/usr/src/sys/turion  amd64

>Description:
Add missing build dependencies.  No PORTREVISION bump because this is
build-time only.

Reported by:    pointyhat

>How-To-Repeat:
Install jogl dependencies as packages then build jogl.  It will fail to build, reporting
       [cc] In file included from /work/a/ports/graphics/jogl/work/jogl/src/native/jogl/JAWT_DrawingSurfaceInfo.c:40:
       [cc] /usr/local/jdk1.6.0/include/freebsd/jawt_md.h:13:27: error: X11/Intrinsic.h: No such file or directory

See (eg):
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.8.20080819154558/jogl-1.1.1.log

The problem is that build dependencies in jogl are incomplete, though this isn't apparent if java is built as a port.

>Fix:


Patch attached with submission follows:

Index: graphics/jogl/Makefile
===================================================================
RCS file: /usr/ncvs/ports/graphics/jogl/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- graphics/jogl/Makefile	11 Jun 2008 13:08:31 -0000	1.1
+++ graphics/jogl/Makefile	5 Sep 2008 08:20:23 -0000
@@ -23,8 +23,11 @@
 		Xfixes.3:${PORTSDIR}/x11/libXfixes	\
 		Xxf86vm.1:${PORTSDIR}/x11/libXxf86vm	\
 		drm.2:${PORTSDIR}/graphics/libdrm
-BUILD_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper		\
-		${JAVALIBDIR}/antlr.jar:${PORTSDIR}/devel/antlr
+BUILD_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper	\
+	${JAVALIBDIR}/antlr.jar:${PORTSDIR}/devel/antlr \
+	${LOCALBASE}/include/X11/extensions/xf86vmode.h:${PORTSDIR}/x11/xf86vidmodeproto \
+	${LOCALBASE}/include/X11/Core.h:${PORTSDIR}/x11-toolkits/libXt \
+	${LOCALBASE}/include/X11/X.h:${PORTSDIR}/x11/xproto
 RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper
 
 NO_WRKSUBDIR=	yes


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



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