Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2010 12:57:02 GMT
From:      loader <loader@freebsdmall.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145201: update audio/libmusicbrainz3 to compile with www/neon29
Message-ID:  <201003301257.o2UCv2w0029519@www.freebsd.org>
Resent-Message-ID: <201003301300.o2UD0FUb033681@freefall.freebsd.org>

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

>Number:         145201
>Category:       ports
>Synopsis:       update audio/libmusicbrainz3 to compile with www/neon29
>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 Mar 30 13:00:15 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     loader
>Release:        8.0-RELEASE
>Organization:
FreeBSDMall
>Environment:
FreeBSD build.freebsdmall.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
update audio/libmusicbrainz3 to compile with www/neon29
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2010-03-30 12:02:45.000000000 +0000
+++ Makefile	2010-03-30 12:03:25.000000000 +0000
@@ -17,8 +17,15 @@
 MAINTAINER=	bsdkaffee@gmail.com
 COMMENT=	MusicBrainz client library for audio metadata lookup
 
-LIB_DEPENDS=	discid:${PORTSDIR}/audio/libdiscid \
-		neon.28:${PORTSDIR}/www/neon28
+LIB_DEPENDS=	discid:${PORTSDIR}/audio/libdiscid
+
+.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}
 
 USE_CMAKE=	yes
 USE_GNOME=	pkgconfig


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



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