From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 5 09:00:11 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 951E61065689 for ; Fri, 5 Sep 2008 09:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6D09B8FC37 for ; Fri, 5 Sep 2008 09:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8590Buh048624 for ; Fri, 5 Sep 2008 09:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8590BWG048623; Fri, 5 Sep 2008 09:00:11 GMT (envelope-from gnats) Resent-Date: Fri, 5 Sep 2008 09:00:11 GMT Resent-Message-Id: <200809050900.m8590BWG048623@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Peter Peremy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAAB21065683 for ; Fri, 5 Sep 2008 08:58:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id D97788FC0A for ; Fri, 5 Sep 2008 08:58:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m858wpmc016982 for ; Fri, 5 Sep 2008 08:58:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m858wplV016979; Fri, 5 Sep 2008 08:58:51 GMT (envelope-from nobody) Message-Id: <200809050858.m858wplV016979@www.freebsd.org> Date: Fri, 5 Sep 2008 08:58:51 GMT From: Peter Peremy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/127107: [patch] Fix graphics/jogl dependencies X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2008 09:00:11 -0000 >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: