From owner-svn-ports-head@FreeBSD.ORG Sat Dec 21 16:52:12 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 801551FE; Sat, 21 Dec 2013 16:52:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6C2E611C3; Sat, 21 Dec 2013 16:52:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBLGqCWk019115; Sat, 21 Dec 2013 16:52:12 GMT (envelope-from crees@svn.freebsd.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBLGqCXn019114; Sat, 21 Dec 2013 16:52:12 GMT (envelope-from crees@svn.freebsd.org) Message-Id: <201312211652.rBLGqCXn019114@svn.freebsd.org> From: Chris Rees Date: Sat, 21 Dec 2013 16:52:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337153 - head/audio/musicpd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Dec 2013 16:52:12 -0000 Author: crees Date: Sat Dec 21 16:52:11 2013 New Revision: 337153 URL: http://svnweb.freebsd.org/changeset/ports/337153 Log: Clang can build musicpd fine on FreeBSD 10+ PR: ports/185059 Submitted by: mat Modified: head/audio/musicpd/Makefile Modified: head/audio/musicpd/Makefile ============================================================================== --- head/audio/musicpd/Makefile Sat Dec 21 16:10:49 2013 (r337152) +++ head/audio/musicpd/Makefile Sat Dec 21 16:52:11 2013 (r337153) @@ -15,17 +15,16 @@ LIB_DEPENDS+= libmad.so:${PORTSDIR}/audi libcurl.so:${PORTSDIR}/ftp/curl USES= gmake pkgconfig -USE_GCC= 4.7+ USE_XZ= yes GNU_CONFIGURE= yes USE_GNOME= glib20 USE_RC_SUBR= ${PORTNAME} +CONFIGURE_ARGS+=--disable-alsa +CFLAGS+= -I${PREFIX}/include CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -CFLAGS+= -I${PREFIX}/include - DOCSDIR?= ${PREFIX}/share/doc/musicpd PORTDOCS= AUTHORS README COPYING NEWS UPGRADING @@ -60,6 +59,12 @@ SUB_LIST+= MPDDIR=${MPDDIR} IGNORE=Please remove the MPDCONF line from make.conf, then rename ${PREFIX}/etc/${MPDCONF} to musicpd.conf, if it exists .endif +.if ${OSVERSION} < 1000054 +USE_GCC= 4.7+ +.else +USES+= compiler:c++11-lang +.endif + .include .if exists(${PREFIX}/etc/mpd.conf)