From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 10 07:33:25 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5FF106566C; Thu, 10 Sep 2009 07:33:25 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 18A548FC0A; Thu, 10 Sep 2009 07:33:24 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Mle9j-000HH2-QH; Thu, 10 Sep 2009 11:33:23 +0400 From: Boris Samorodov To: References: <90953406@bb.ipt.ru> Date: Thu, 10 Sep 2009 11:33:24 +0400 In-Reply-To: <90953406@bb.ipt.ru> (Boris Samorodov's message of "Thu, 10 Sep 2009 10:47:45 +0400") Message-ID: <08875131@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: danfe@FreeBSD.org Subject: Re: linux GL libraries and nvidia drivers X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 07:33:25 -0000 On Thu, 10 Sep 2009 10:47:45 +0400 Boris Samorodov wrote: > BTW, I can create a linux-f10-libGLU port if it is needed. But I'm > not sure if it is needed. After a better look at ports which use nvidia drivers I stand corrected. Seems that the best way is to create a new linux libGLU port and patch bsd.linux-apps.mk. Then ports which use nvidia drivers should use a patch like: ----- --- Makefile.orig 2009-06-07 19:23:52.000000000 +0400 +++ Makefile 2009-09-10 11:26:00.000000000 +0400 @@ -31,8 +31,8 @@ .include .if defined(WITH_NVIDIA) -RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \ - ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux-libGLU +RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver +USE_LINUX_APPS+=libGLU .else USE_LINUX_APPS+=dri .endif ----- -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve