Date: Thu, 10 Sep 2009 11:33:24 +0400 From: Boris Samorodov <bsam@ipt.ru> To: <freebsd-emulation@freebsd.org> Cc: danfe@FreeBSD.org Subject: Re: linux GL libraries and nvidia drivers Message-ID: <08875131@bb.ipt.ru> In-Reply-To: <90953406@bb.ipt.ru> (Boris Samorodov's message of "Thu, 10 Sep 2009 10:47:45 %2B0400") References: <permail-20090909164008f0889e8400000b45-a_best01@message-id.uni-muenster.de> <90953406@bb.ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08875131>