Date: Sat, 21 Dec 2013 08:46:15 GMT From: Matthieu Volat <mazhe@alkumuna.eu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/185059: [patch] audio/musicpd: gcc, configure options Message-ID: <201312210846.rBL8kFHU029579@oldred.freebsd.org> Resent-Message-ID: <201312210850.rBL8o0Dm032574@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185059 >Category: ports >Synopsis: [patch] audio/musicpd: gcc, configure options >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 21 08:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Matthieu Volat >Release: 10.0-RC2 >Organization: >Environment: FreeBSD freedom.alkumuna.eu 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 08:18:20 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Last update of audio/musicpd will build without needing a "modern" gcc on freebsd 10 using clang and base libc++. While this was not tested, it may also work with base/clang in the 9.x series. In that case the --disable-alsa argument should be passed to the configure, the alsa backend do not compile with clang and is mostly useless, I guess. >How-To-Repeat: Described above >Fix: Patch tentative : --- Makefile.orig 2013-12-21 09:14:24.000000000 +0100 +++ Makefile 2013-12-21 09:44:58.000000000 +0100 @@ -15,9 +15,9 @@ libcurl.so:${PORTSDIR}/ftp/curl USES= gmake pkgconfig -USE_GCC= 4.7+ USE_XZ= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-alsa USE_GNOME= glib20 USE_RC_SUBR= ${PORTNAME} @@ -62,6 +62,10 @@ .include <bsd.port.pre.mk> +.if ${OSVERSION} < 1000054 || ! ${CXX:T:Mclang++} +USE_GCC= 4.7+ +.endif + .if exists(${PREFIX}/etc/mpd.conf) MSG=You still have ${PREFIX}/etc/mpd.conf in existence-- this file is no longer used by musicpd. .if !exists(${PREFIX}/etc/musicpd.conf) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312210846.rBL8kFHU029579>