From owner-svn-ports-head@FreeBSD.ORG Sun Jan 19 13:48:29 2014 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 D1471D7A; Sun, 19 Jan 2014 13:48:29 +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 A3F6B1E66; Sun, 19 Jan 2014 13:48:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0JDmTi2028777; Sun, 19 Jan 2014 13:48:29 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0JDmTpR028776; Sun, 19 Jan 2014 13:48:29 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201401191348.s0JDmTpR028776@svn.freebsd.org> From: Martin Wilke Date: Sun, 19 Jan 2014 13:48:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340295 - head/audio/bmp-flac 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: Sun, 19 Jan 2014 13:48:29 -0000 Author: miwi Date: Sun Jan 19 13:48:29 2014 New Revision: 340295 URL: http://svnweb.freebsd.org/changeset/ports/340295 QAT: https://qat.redports.org/buildarchive/r340295/ Log: - Fix build with clang PR: 185512 Submitted by: ports fury Modified: head/audio/bmp-flac/Makefile Modified: head/audio/bmp-flac/Makefile ============================================================================== --- head/audio/bmp-flac/Makefile Sun Jan 19 13:48:03 2014 (r340294) +++ head/audio/bmp-flac/Makefile Sun Jan 19 13:48:29 2014 (r340295) @@ -12,22 +12,33 @@ DISTNAME= ${PORTNAME}-CVS-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= FLAC input plugin for beep-media-player -LIB_DEPENDS= libbeep.so:${PORTSDIR}/multimedia/beep-media-player \ - libFLAC.so:${PORTSDIR}/audio/flac +LICENSE= GPLv2 -PLIST_FILES= lib/bmp/Input/libbmp-flac.so +LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac \ + libbeep.so:${PORTSDIR}/multimedia/beep-media-player -USES= iconv pkgconfig USE_BZIP2= yes +USES= iconv pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ --with-ogg="${LOCALBASE}" \ --with-xmms-prefix="${LOCALBASE}" - MAKEFILE= ${FILESDIR}/Makefile +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +PLIST_FILES= lib/bmp/Input/libbmp-flac.so + +.include + +.if ${ARCH} == "sparc64" +BROKEN= Does not compile with GCC 4.2 +.endif + post-patch: - @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + '/xtra_stdcpp/s|-lstdc++||' ${WRKSRC}/configure # "obj" is magic to our make(1) # make sure we get the new includes from ${LOCALBASE}/include/FLAC @@ -38,12 +49,7 @@ post-configure: # This is to avoid libtool running ldconfig -m ${LOCALBASE}/lib/bmp/Input do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/bmp/Input - ${INSTALL_LIB} ${WRKSRC}/src/plugin_bmp/.libs/libbmp-flac.so ${STAGEDIR}${PREFIX}/lib/bmp/Input - -.include - -.if ${ARCH} == "sparc64" -BROKEN= Does not compile with GCC 4.2 -.endif + (cd ${WRKSRC}/src/plugin_bmp/.libs && ${INSTALL_LIB} libbmp-flac.so \ + ${STAGEDIR}${PREFIX}/lib/bmp/Input) .include