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

Dima Panov fluffy at FreeBSD.org
Wed May 5 00:50:07 UTC 2010


>Number:         146317
>Category:       ports
>Synopsis:       multimedia/audacious-plugins: allow to build with any neon installed
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 05 00:50:06 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 r207097M: Fri Apr 23 19:20:05 VLAST 2010
    root at 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:



More information about the freebsd-ports-bugs mailing list