From owner-svn-ports-head@FreeBSD.ORG Fri Dec 20 16:21:21 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F771E1A; Fri, 20 Dec 2013 16:21:21 +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 1AA311228; Fri, 20 Dec 2013 16:21:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBKGLK0x031870; Fri, 20 Dec 2013 16:21:20 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBKGLKt4031863; Fri, 20 Dec 2013 16:21:20 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201312201621.rBKGLKt4031863@svn.freebsd.org> From: Pawel Pekala Date: Fri, 20 Dec 2013 16:21:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337033 - in head/audio/mp3stat: . files 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: Fri, 20 Dec 2013 16:21:21 -0000 Author: pawel Date: Fri Dec 20 16:21:19 2013 New Revision: 337033 URL: http://svnweb.freebsd.org/changeset/ports/337033 Log: - Fix build with clang - Update MASTER_SITES - Support staging PR: ports/184863 Submitted by: KATO Tsuguru Added: head/audio/mp3stat/files/patch-base.cpp (contents, props changed) head/audio/mp3stat/files/patch-input__vorbis__oggstat.cpp (contents, props changed) head/audio/mp3stat/files/patch-ui__console__cli.cpp (contents, props changed) Modified: head/audio/mp3stat/Makefile Modified: head/audio/mp3stat/Makefile ============================================================================== --- head/audio/mp3stat/Makefile Fri Dec 20 16:10:52 2013 (r337032) +++ head/audio/mp3stat/Makefile Fri Dec 20 16:21:19 2013 (r337033) @@ -19,12 +19,12 @@ OPTIONS_DEFAULT= VORBIS WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= gmake pkgconfig -NO_STAGE= yes +USES= dos2unix gmake pkgconfig +DOS2UNIX_FILES= ui/console/cli.cpp USE_GNOME= gtk20 -CXX+= -I${LOCALBASE}/include -L${LOCALBASE}/lib \ - -Wl,--rpath,${LOCALBASE}/lib +CXXFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -Wl,--rpath,${LOCALBASE}/lib PORTDOCS= README PLIST_FILES= bin/mp3stat \ @@ -46,23 +46,25 @@ post-patch: @${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|@$${CXX}|$${CXX}|g ; \ s|-ldl|-lz|g ; \ - s|-lc||g ; \ + s|-lc|$${LDFLAGS}|g ; \ s|-Wl,-soname,.*\.so\.1||g ; \ s|-fpic|-fPIC|g ; \ s|^CXX|#CXX|g' do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mp3stat ${PREFIX}/bin - @${MKDIR} ${PREFIX}/lib/mp3stat - ${INSTALL_DATA} ${WRKSRC}/ui/gtk/ui_gtk2.so ${PREFIX}/lib/mp3stat - ${INSTALL_DATA} ${WRKSRC}/ui/console/ui_console.so ${PREFIX}/lib/mp3stat - ${INSTALL_DATA} ${WRKSRC}/input/mp3/input_mp3.so ${PREFIX}/lib/mp3stat + (cd ${WRKSRC} && ${INSTALL_PROGRAM} mp3stat ${STAGEDIR}${PREFIX}/bin) + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/mp3stat + (cd ${WRKSRC}/ui/gtk && ${INSTALL_DATA} ui_gtk2.so \ + ${STAGEDIR}${PREFIX}/lib/mp3stat) + (cd ${WRKSRC}/ui/console && ${INSTALL_DATA} ui_console.so \ + ${STAGEDIR}${PREFIX}/lib/mp3stat) + (cd ${WRKSRC}/input/mp3 && ${INSTALL_DATA} input_mp3.so \ + ${STAGEDIR}${PREFIX}/lib/mp3stat) .if ${PORT_OPTIONS:MVORBIS} - ${INSTALL_DATA} ${WRKSRC}/input/vorbis/input_vorb.so ${PREFIX}/lib/mp3stat -.endif -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + (cd ${WRKSRC}/input/vorbis && ${INSTALL_DATA} input_vorb.so \ + ${STAGEDIR}${PREFIX}/lib/mp3stat) .endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}) .include Added: head/audio/mp3stat/files/patch-base.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/mp3stat/files/patch-base.cpp Fri Dec 20 16:21:19 2013 (r337033) @@ -0,0 +1,9 @@ +--- base.cpp.orig ++++ base.cpp +@@ -1,4 +1,5 @@ +-#include ++#include ++#include + #include + #include + Added: head/audio/mp3stat/files/patch-input__vorbis__oggstat.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/mp3stat/files/patch-input__vorbis__oggstat.cpp Fri Dec 20 16:21:19 2013 (r337033) @@ -0,0 +1,7 @@ +--- input/vorbis/oggstat.cpp.orig ++++ input/vorbis/oggstat.cpp +@@ -1,3 +1,4 @@ ++#include + #include "oggstat.h" + + using namespace std; Added: head/audio/mp3stat/files/patch-ui__console__cli.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/mp3stat/files/patch-ui__console__cli.cpp Fri Dec 20 16:21:19 2013 (r337033) @@ -0,0 +1,9 @@ +--- ui/console/cli.cpp.orig ++++ ui/console/cli.cpp +@@ -1,4 +1,5 @@ +-#include ++#include ++#include + #include "cli.h" + + using namespace std;