ports/126702: [patch] update multimedia/audacious-plugins to depend on www/neon28
Josh Paetzel
josh at tcbug.org
Thu Aug 21 06:00:15 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list