Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2010 23:26:06 +1100
From:      "Dima Panov" <fluffy@FreeBSD.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/145879: multimedia/audacious-plugins: allow to build with any neon installed
Message-ID:  <1271766366.91814@Fluffy.Khv.RU>
Resent-Message-ID: <201004201230.o3KCU568035926@freefall.freebsd.org>

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

>Number:         145879
>Category:       ports
>Synopsis:       multimedia/audacious-plugins: allow to build with any neon installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 20 12:30:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Dima Panov
>Release:        FreeBSD 9.0-900010-CURRENT amd64
>Organization:
Fluffy.Khv.RU 
>Environment:


System: FreeBSD 9.0-900010-CURRENT #0 r206514M: Tue Apr 13 10:15:09 VLAST 2010
    fluffy@Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot



>Description:


multimedia/audacious-plugins: allow to build with any neon installed


>How-To-Repeat:





>Fix:


--- audacious-plugins.diff begins here ---
Index: multimedia/audacious-plugins/Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/audacious-plugins/Makefile,v
retrieving revision 1.72
diff -u -r1.72 Makefile
--- multimedia/audacious-plugins/Makefile	19 Apr 2010 10:59:37 -0000	1.72
+++ multimedia/audacious-plugins/Makefile	20 Apr 2010 12:22:42 -0000
@@ -273,7 +268,13 @@
 .endif
 
 .if !defined(WITHOUT_NEON)
-LIB_DEPENDS+= neon.28:${PORTSDIR}/www/neon28
+.if exists(${LOCALBASE}/bin/neon-config)
+NEON_VER!=	${LOCALBASE}/bin/neon-config --version | \
+		${SED} -n -E  's/^neon [0-9]+\.([0-9]+)\..*$$/\1/p'
+.else
+NEON_VER=      29
+.endif
+LIB_DEPENDS+=	neon.${NEON_VER}:${PORTSDIR}/www/neon${NEON_VER}
 CONFIGURE_ARGS+=--enable-neon
 PLIST_SUB+=	NEONPLUGIN=""
 .else
--- audacious-plugins.diff ends here ---



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



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