Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2008 00:37:21 -0500
From:      "Josh Paetzel" <josh@tcbug.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/126702: [patch] update multimedia/audacious-plugins to depend on www/neon28
Message-ID:  <1219297041.44178@homebase.tcbug.org>
Resent-Message-ID: <200808210600.m7L60Br8046054@freefall.freebsd.org>

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

>Number:         126702
>Category:       ports
>Synopsis:       [patch] update multimedia/audacious-plugins to depend on www/neon28
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 21 06:00:10 UTC 2008
>Closed-Date:
>Last-Modified:
>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:


multimedia/audacious-plugins has optional neon support.  neon28 is backwards compatable with neon26 but CONFLICTS with it.  More and more ports are pulling in neon28, which will cause this one to bomb.


>How-To-Repeat:


Install anything that depends on neon28, then install audacious-plugins


>Fix:


Dumb fix simply updates the port to use neon28.....

--- Makefile.old        2008-08-20 23:01:33.000000000 -0500
+++ Makefile    2008-08-20 23:01:53.000000000 -0500
@@ -310,7 +310,7 @@
 .endif

 .if !defined(WITHOUT_NEON)
-LIB_DEPENDS+=  neon.26:${PORTSDIR}/www/neon26
+LIB_DEPENDS+=  neon.28:${PORTSDIR}/www/neon28
 CONFIGURE_ARGS+=--enable-neon
 PLIST_SUB+=    NEONPLUGIN=""
 .else

Otherwise a smarter fix tries to use whatever neon is there, defaulting to neon28

--- Makefile.old        2008-08-21 04:21:58.000000000 +0000
+++ Makefile    2008-08-21 04:45:04.000000000 +0000
@@ -310,7 +310,11 @@
 .endif

 .if !defined(WITHOUT_NEON)
+.if exists(${LOCALBASE}/lib/libneon.so.26)
 LIB_DEPENDS+=  neon.26:${PORTSDIR}/www/neon26
+.else
+LIB_DEPENDS+=  neon.28:${PORTSDIR}/www/neon28
+.endif
 CONFIGURE_ARGS+=--enable-neon
 PLIST_SUB+=    NEONPLUGIN=""
 .else




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



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