From nobody@FreeBSD.org  Sun Aug 22 09:46:45 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0D9991065674
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Aug 2010 09:46:45 +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 F17908FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Aug 2010 09:46:44 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7M9kijd039259
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 22 Aug 2010 09:46:44 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o7M9kiJW039258;
	Sun, 22 Aug 2010 09:46:44 GMT
	(envelope-from nobody)
Message-Id: <201008220946.o7M9kiJW039258@www.freebsd.org>
Date: Sun, 22 Aug 2010 09:46:44 GMT
From: David Demelier <demelier.David@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] games/linux-enemyterritory: missing DRI
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: benlutz@datacomm.ch

>Number:         149873
>Category:       ports
>Synopsis:       [PATCH] games/linux-enemyterritory: missing DRI
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 22 09:50:03 UTC 2010
>Closed-Date:    Thu Sep 23 02:32:33 UTC 2010
>Last-Modified:  Thu Sep 23 06:50:02 UTC 2010
>Originator:     David Demelier
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD Melon.malikania.fr 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Wed Aug 18 01:41:02 CEST 2010     root@Melon.malikania.fr:/usr/obj/usr/src/sys/Melon  amd64
>Description:
The port games/linux-enemyterritory won't start if any graphics/linux-(f10|f8) or graphics/linux-dri is installed.

So added USE_LINUX_APPS= dri to solve this.
>How-To-Repeat:

>Fix:
--- Makefile.orig	2010-08-22 11:42:51.000000000 +0200
+++ Makefile	2010-08-22 11:43:11.000000000 +0200
@@ -25,6 +25,8 @@
 INSTALL_DIR=	${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
 PATCH_260B_DIR=	Enemy Territory 2.60b
 
+USE_LINUX_APPS=	dri
+
 do-extract:
 	@${MKDIR} ${WRKSRC}
 	@cd ${WRKSRC} && \

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Aug 22 09:50:17 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149873 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: benlutz@datacomm.ch
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/149873: [PATCH] games/linux-enemyterritory: missing DRI
Date: Sun, 22 Aug 2010 09:50:15 UT

 Maintainer of games/linux-enemyterritory,
 
 Please note that PR ports/149873 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149873
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->open 
State-Changed-By: pgollucci 
State-Changed-When: Thu Sep 16 22:58:19 UTC 2010 
State-Changed-Why:  
maintainer timeout (benlutz@datacomm.ch ; 25 days) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149873 
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Wed Sep 22 06:07:37 UTC 2010 
Responsible-Changed-Why:  
I will take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149873 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Thu Sep 23 02:32:32 UTC 2010 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149873 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/149873: commit references a PR
Date: Thu, 23 Sep 2010 02:32:12 +0000 (UTC)

 pgollucci    2010-09-23 02:32:07 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games/linux-enemyterritory Makefile 
   Log:
   - Add missing dri
   
   PR:             ports/149873
   Submitted by:   David Demelier <demelier.David@gmail.com>
   Approved by:    maintainer timeout (benlutz@datacomm.ch ; 25 days)
   
   Revision  Changes    Path
   1.13      +4 -2      ports/games/linux-enemyterritory/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Barbara <barbara.xxx1975@libero.it>
To: bug-followup@FreeBSD.org
Cc: demelier.David@gmail.com, benlutz@datacomm.ch, pgollucci@FreeBSD.org
Subject: Re: ports/149873: [PATCH] games/linux-enemyterritory: missing DRI
Date: Thu, 23 Sep 2010 08:32:19 +0200 (CEST)

 This patch is breaking the building, I think at least for x11/nvidia-driver 
 users.
 I think that the check for dri (libGL.so.1.2.so)  fails, even if dri is 
 installed:
     # pkg_info -Ix linux-dri
     linux-dri-7.4_1     Mesa-based DRI libraries, drivers and binaries (Linux 
 Ubunt
 because in /compat/linux/usr/lib/, libGL.so.1.2.so from dri is moved to XXX-
 libGL.so.1.2.%%.linux-dri-7.4_1 from the nvidia-driver port, which installs 
 libGL.so.195.36.15 and link it to libGL.so.1.
 
 Maybe we need to workaround it with a WITH_NVIDIA option?
 
 Barbara
 
 The following is the error while upgrading:
 
 --->  Installing the new version via the port
 ===>  Installing for linux-enemyterritory-2.60b_1
 ===>   linux-enemyterritory-2.60b_1 depends on file: /compat/linux/etc/fedora-
 release - found
 ===>   linux-enemyterritory-2.60b_1 depends on file: 
 /compat/linux/usr/lib/libGL.so.1.2 - not found
 ===>    Verifying reinstall for /compat/linux/usr/lib/libGL.so.1.2 in 
 /usr/ports/graphics/linux-dri74
 ===>  License check disabled, port has not defined LICENSE
 ===>  Extracting for linux-dri-7.4_1
 => MD5 Checksum OK for linux-dri-7.4.tar.bz2.
 => SHA256 Checksum OK for linux-dri-7.4.tar.bz2.
 ===>  Patching for linux-dri-7.4_1
 ===>  Configuring for linux-dri-7.4_1
 ===>  Installing for linux-dri-7.4_1
 ===>   linux-dri-7.4_1 depends on file: /compat/linux/etc/fedora-release - 
 found
 ===>   Generating temporary packing list
 ===>  Checking if graphics/linux-dri74 already installed
 ===>   linux-dri-7.4_1 is already installed
       You may wish to ``make deinstall'' and install this port again
       by ``make reinstall'' to upgrade it properly.
       If you really wish to overwrite the old port of graphics/linux-dri74
       without deleting it first, set the variable "FORCE_PKG_REGISTER"
       in your environment or the "make install" command line.
 *** Error code 1
 
 Stop in /usr/ports/graphics/linux-dri74.
 *** Error code 1
 
 Stop in /usr/ports/graphics/linux-dri74.
 *** Error code 1
 
 Stop in /usr/ports/games/linux-enemyterritory.
 *** Error code 1
 
 Stop in /usr/ports/games/linux-enemyterritory.
 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100923-
 10879-r9zjpu-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=linux-enemyterritory-
 2.60b UPGRADE_PORT_VER=2.60b make reinstall
 --->  Restoring the old version
 ** Fix the installation problem and try again.
 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 794 packages found 
 (-0 +1) . done]
 ** Listing the failed packages (-:ignored / *:skipped / !:failed)
 	! games/linux-enemyterritory (linux-enemyterritory-2.60b)	(install error)
 
>Unformatted:
