From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 12 19:50:53 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 596D416A41F for ; Mon, 12 Dec 2005 19:50:53 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AA6243D7F for ; Mon, 12 Dec 2005 19:50:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBCJo87o006518 for ; Mon, 12 Dec 2005 19:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBCJo8bp006514; Mon, 12 Dec 2005 19:50:08 GMT (envelope-from gnats) Resent-Date: Mon, 12 Dec 2005 19:50:08 GMT Resent-Message-Id: <200512121950.jBCJo8bp006514@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, Björn König Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A72FF16A423; Mon, 12 Dec 2005 19:39:57 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id E014843D68; Mon, 12 Dec 2005 19:39:46 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-39-231.dynamic.qsc.de [212.202.39.231]) by efacilitas.de (Postfix) with ESMTP id 302DE4C594; Mon, 12 Dec 2005 20:47:55 +0100 (CET) Received: from hoppel.local (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with SMTP id 1E136508B5; Mon, 12 Dec 2005 20:38:13 +0100 (CET) Received: by hoppel.local (sSMTP sendmail emulation); Mon, 12 Dec 2005 20:38:13 +0100 Message-Id: <20051212193813.1E136508B5@eurystheus.local> Date: Mon, 12 Dec 2005 20:38:13 +0100 From: "Björn König" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: danfe@FreeBSD.org Subject: ports/90304: Port x11/nvidia: dependency misc/compat5x is still missing if built with WITH_LEGACY_GPU_SUPPORT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Björn König List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2005 19:50:53 -0000 >Number: 90304 >Category: ports >Synopsis: Port x11/nvidia: dependency misc/compat5x is still missing if built with WITH_LEGACY_GPU_SUPPORT >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 12 19:50:07 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Björn König >Release: FreeBSD 6.0-RELEASE i386 >Organization: >Environment: >Description: If you install the nvidia-driver with WITH_LEGACY_GPU_SUPPORT then the necessary library libm.so.3 (misc/compat5x) won't be installed which is needed by libGL.so. There was an update of Makefile (rev. 1.37) which fixed this problem, but it doesn't respect the option WITH_LEGACY_GPU_SUPPORT. >How-To-Repeat: Use FreeBSD 6.0-RELEASE or later. Make sure that 'compat5x' is not installed. # cd /usr/ports/x11/nvidia-driver # make -DWITH_LEGACY_GPU_SUPPORT install clean >Fix: The patch below causes that the check for $OSVERSION >= 600033 will always happen if $OSVERSION < 503000 is false regardless whether WITH_LEGACY_GPU_SUPPORT is set or not. --- nvidia-driver-2005121201.diff begins here --- --- ports/x11/nvidia-driver/Makefile.orig Mon Dec 12 20:14:18 2005 +++ ports/x11/nvidia-driver/Makefile Mon Dec 12 20:15:58 2005 @@ -85,9 +85,9 @@ NVVERSION= 7676 PORTREVISION= 1 EXTRA_PATCHES+= ${FILESDIR}/7667-* +.endif .if ${OSVERSION} >= 600033 LIB_DEPENDS+= m.3:${PORTSDIR}/misc/compat5x -.endif .endif PLIST_SUB+= DIFFS="@comment " DRVSO="" .endif --- nvidia-driver-2005121201.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: