Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2008 02:44:41 -0800 (AKDT)
From:      Mel <mel.xyzzy@rachie.is-a-geek.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        MAINTAINER <beech@FreeBSD.org>
Subject:   ports/127394: [PATCH] USE_XLIB needed when WITH_NVIDIA_GL is set (net/skype)
Message-ID:  <20080915104441.23EE333C1B@squish.rachie.is-a-geek.net>
Resent-Message-ID: <200809151050.m8FAo2cW095756@freefall.freebsd.org>

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

>Number:         127394
>Category:       ports
>Synopsis:       [PATCH] USE_XLIB needed when WITH_NVIDIA_GL is set (net/skype)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 15 10:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mel
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD squish.rachie.is-a-geek.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #5: Sat Sep 13 02:44:01 AKDT 2008 root@squish.rachie.is-a-geek.net:/data/obj/data/RELENG_7/src/sys/GENERIC-PF i386


	
>Description:
$ skype: error while loading shared libraries: libXv.so.1: cannot open shared object file: No such file or directory

If WITH_NVIDIA_GL is set, linux_dri isn't pulled in and so isn't
linux-xorg-libs as a consequence.
>How-To-Repeat:
pkg_delete -f linux-xorg-libs-*
(cd /usr/ports/net/skype && make -DWITH_NVIDIA_GL)

>Fix:

--- skype_Makefile.fix begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/skype/Makefile,v
retrieving revision 1.46
diff -u -r1.46 Makefile
--- Makefile	19 Jun 2008 01:31:13 -0000	1.46
+++ Makefile	15 Sep 2008 10:21:54 -0000
@@ -25,6 +25,7 @@
 
 .ifdef WITH_NVIDIA_GL
 RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+USE_XLIB=	yes
 .else
 USE_GL=	linux
 .endif
--- skype_Makefile.fix ends here ---

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



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