From josh@tcbug.org  Thu Aug 21 06:09:41 2008
Return-Path: <josh@tcbug.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F2FED106567E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Aug 2008 06:09:41 +0000 (UTC)
	(envelope-from josh@tcbug.org)
Received: from cenn-smtp.mc.mpls.visi.com (cenn.mc.mpls.visi.com [208.42.156.9])
	by mx1.freebsd.org (Postfix) with ESMTP id CB9568FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Aug 2008 06:09:41 +0000 (UTC)
	(envelope-from josh@tcbug.org)
Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163])
	by cenn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id EF38A833E
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Aug 2008 01:09:40 -0500 (CDT)
Received: from homebase.tcbug.org (unknown [208.42.70.167])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.tcbug.org (Postfix) with ESMTPSA id 61DBF558808
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Aug 2008 01:09:39 -0500 (CDT)
Message-Id: <1219298982.17700@homebase.tcbug.org>
Date: Thu, 21 Aug 2008 01:09:42 -0500
From: "Josh Paetzel" <josh@tcbug.org>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [patch] update neon dependancy in audio/libmusicbrainz3
X-Send-Pr-Version: gtk-send-pr 0.4.9 
X-GNATS-Notify: bsdkaffee@gmail.com

>Number:         126704
>Category:       ports
>Synopsis:       [patch] update neon dependancy in audio/libmusicbrainz3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jpaetzel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 21 06:10:01 UTC 2008
>Closed-Date:    Sat Feb 28 16:12:06 UTC 2009
>Last-Modified:  Sat Feb 28 16:12:06 UTC 2009
>Originator:     Josh Paetzel
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:


System: FreeBSD 7.0-STABLE #4: Wed Aug 13 15:01:58 UTC 2008
    jpaetzel@homebase.tcbug.org:/usr/obj/usr/src/sys/HOMEBASE



>Description:


www/neon28 is backwards compatable to www/neon26, but the two CONFLICT.  The following patch uses neon26 if it's already installed otherwise it pulls in and/or depends on neon28


>How-To-Repeat:


install something that pulls in neon28 (KDE, subversion, trac)

cd /usr/ports/audio/libmusicbrainz3 && make install

The install fails as neon26 is pulled in and CONFLICTS with neon28


>Fix:


--- Makefile.old        2008-08-21 05:50:23.000000000 +0000
+++ Makefile    2008-08-21 05:54:41.000000000 +0000
@@ -17,8 +17,13 @@
 MAINTAINER=    bsdkaffee@gmail.com
 COMMENT=       MusicBrainz client library for audio metadata lookup

-LIB_DEPENDS=   discid:${PORTSDIR}/audio/libdiscid \
-               neon.26:${PORTSDIR}/www/neon26
+LIB_DEPENDS=   discid:${PORTSDIR}/audio/libdiscid
+
+.if exists(${LOCALBASE}/lib/libneon.so.26)
+LIB_DEPENDS+=  neon.26:${PORTSDIR}/www/neon26
+.else
+LIB_DEPENDS+=   neon.28:${PORTSDIR}/www/neon28
+.endif

 USE_CMAKE=     yes
 USE_GMAKE=     yes



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Aug 21 06:10:10 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: bsdkaffee@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/126704: [patch] update neon dependancy in audio/libmusicbrainz3
Date: Thu, 21 Aug 2008 06:10:09 UT

 Maintainer of audio/libmusicbrainz3,
 
 Please note that PR ports/126704 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/126704
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->jpaetzel 
Responsible-Changed-By: beech 
Responsible-Changed-When: Tue Sep 9 04:52:36 UTC 2008 
Responsible-Changed-Why:  
Submitter has gnats access 

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

From: "Jason E. Hale" <bsdkaffee@gmail.com>
To: bug-followup@freebsd.org,
 josh@tcbug.org
Cc:  
Subject: Re: ports/126704: [patch] update neon dependancy in audio/libmusicbrainz3
Date: Thu, 18 Sep 2008 06:41:25 -0400

 I have sent in a PR updating audio/libmusicbrainz3 to it's latest version.  Since no other ports depend on libmusicbrainz3 currently, I decided 
 to switch the dependency to neon 0.28 only.  I think just dealing with one version is a cleaner solution for this port.  Perhaps we need a better 
 way of dealing with neon? 
 
 See PR ports/127466 (http://www.freebsd.org/cgi/query-pr.cgi?pr=127466).

From: Josh Paetzel <josh@tcbug.org>
To: bug-followup@FreeBSD.org, "Jason E. Hale" <bsdkaffee@gmail.com>
Cc:  
Subject: Re: ports/126704: [patch] update neon dependancy in audio/libmusicbrainz3
Date: Thu, 18 Sep 2008 09:24:29 -0500

 I'm ok with closing this as long as you're aware the pr you sent in has 
 the potential to break the port for people that upgrade.
 
 In theory I'm against ports creating artificial restrictions, in 
 practice I don't know that it's such a big deal.
 
 Thanks,
 
 Josh Paetzel
State-Changed-From-To: feedback->closed 
State-Changed-By: jpaetzel 
State-Changed-When: Sat Feb 28 16:11:04 UTC 2009 
State-Changed-Why:  
fixed with ports/127466 

http://www.freebsd.org/cgi/query-pr.cgi?pr=126704 
>Unformatted:
