From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 14 00:20:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A55F1065670 for ; Wed, 14 Apr 2010 00:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 352848FC19 for ; Wed, 14 Apr 2010 00:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3E0K2Fg099700 for ; Wed, 14 Apr 2010 00:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3E0K2ok099699; Wed, 14 Apr 2010 00:20:02 GMT (envelope-from gnats) Resent-Date: Wed, 14 Apr 2010 00:20:02 GMT Resent-Message-Id: <201004140020.o3E0K2ok099699@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Jason E. Hale" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 991831065673; Wed, 14 Apr 2010 00:17:26 +0000 (UTC) (envelope-from bsdkaffee@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3249F8FC2B; Wed, 14 Apr 2010 00:17:25 +0000 (UTC) Received: by gyh20 with SMTP id 20so4108693gyh.13 for ; Tue, 13 Apr 2010 17:17:25 -0700 (PDT) Received: by 10.100.22.24 with SMTP id 24mr11402776anv.3.1271204242138; Tue, 13 Apr 2010 17:17:22 -0700 (PDT) Received: from mocha.verizon.net (c-24-3-41-151.hsd1.oh.comcast.net [24.3.41.151]) by mx.google.com with ESMTPS id c21sm3394705ibr.10.2010.04.13.17.17.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 Apr 2010 17:17:21 -0700 (PDT) Message-Id: <4bc50991.5578e70a.2654.fffff4ac@mx.google.com> Date: Tue, 13 Apr 2010 17:17:21 -0700 (PDT) From: "Jason E. Hale" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: fluffy@FreeBSD.org Subject: ports/145684: [MAINTAINER][UNBREAK] audio/libmusicbrainz3: Fails to build with neon28 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jason E. Hale" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 00:20:02 -0000 >Number: 145684 >Category: ports >Synopsis: [MAINTAINER][UNBREAK] audio/libmusicbrainz3: Fails to build with neon28 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Apr 14 00:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Jason E. Hale >Release: FreeBSD 8.0-RELEASE i386 >Organization: none >Environment: System: FreeBSD mocha.verizon.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Fri Nov 27 18:56:06 EST 2009 root@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA8 i386 >Description: After an attempt to make audio/libmusicbrainz3 depend on older versions of neon if installed, it appears the older versions are not being detected and the port tries to install neon29 anyways. This detection needs to happen after bsd.port.pre.mk to work properly. >How-To-Repeat: Install www/neon28, then try to install audio/libmusicbrainz3. >Fix: Same code, just shifted below bsd.port.pre.mk. --- 2010-04-13-libmusicbrainz3.diff begins here --- diff -ruN libmusicbrainz3.orig/Makefile libmusicbrainz3/Makefile --- libmusicbrainz3.orig/Makefile 2010-04-13 19:56:03.000000000 -0400 +++ libmusicbrainz3/Makefile 2010-04-13 19:58:55.000000000 -0400 @@ -19,14 +19,6 @@ 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 USE_LDCONFIG= yes @@ -35,6 +27,14 @@ .include +.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} + pre-configure: ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \ -e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt --- 2010-04-13-libmusicbrainz3.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: