Date: Sat, 21 Dec 2013 16:52:12 +0000 (UTC) From: Chris Rees <crees@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337153 - head/audio/musicpd Message-ID: <201312211652.rBLGqCXn019114@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> .if exists(${PREFIX}/etc/mpd.conf)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312211652.rBLGqCXn019114>