From owner-svn-ports-all@FreeBSD.ORG Tue Jan 21 07:26:25 2014 Return-Path: Delivered-To: svn-ports-all@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 9C2BED2D; Tue, 21 Jan 2014 07:26:25 +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 87AD81AE5; Tue, 21 Jan 2014 07:26:25 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0L7QPeq034855; Tue, 21 Jan 2014 07:26:25 GMT (envelope-from martymac@svn.freebsd.org) Received: (from martymac@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0L7QPRm034853; Tue, 21 Jan 2014 07:26:25 GMT (envelope-from martymac@svn.freebsd.org) Message-Id: <201401210726.s0L7QPRm034853@svn.freebsd.org> From: Ganael LAPLANCHE Date: Tue, 21 Jan 2014 07:26:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340561 - in head/emulators/dolphin-emu: . 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-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 07:26:25 -0000 Author: martymac Date: Tue Jan 21 07:26:24 2014 New Revision: 340561 URL: http://svnweb.freebsd.org/changeset/ports/340561 QAT: https://qat.redports.org/buildarchive/r340561/ Log: - Remove useless USE_GCC (should fix build where Clang is the default compiler) - Use new options framework - Rename CMakeLists' USE_ICONV option to ICONV_LINK Modified: head/emulators/dolphin-emu/Makefile head/emulators/dolphin-emu/files/patch-Source-Core-DolphinWX-CMakeLists.txt Modified: head/emulators/dolphin-emu/Makefile ============================================================================== --- head/emulators/dolphin-emu/Makefile Tue Jan 21 07:25:23 2014 (r340560) +++ head/emulators/dolphin-emu/Makefile Tue Jan 21 07:26:24 2014 (r340561) @@ -27,8 +27,6 @@ USE_WX= 2.9+ WX_UNICODE= yes USE_GL= gl glew glu -USE_GCC= yes - USES= dos2unix cmake iconv openal pkgconfig DOS2UNIX_REGEX= .*\.(h|c|cpp) @@ -40,61 +38,44 @@ CMAKE_ARGS+= -DOPENMP:BOOL=OFF \ -DUSE_X11:BOOL=ON \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON -OPTIONS_DEFINE= PULSEAUDIO PORTAUDIO DEBUG FRAMEDUMPS UPNP +OPTIONS_DEFINE= PULSEAUDIO PORTAUDIO DEBUG FRAMEDUMPS UPNP NLS +OPTIONS_DEFAULT= PORTAUDIO FRAMEDUMPS UPNP NLS +OPTIONS_SUB= yes +PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio +PULSEAUDIO_CMAKE_ON= -DDISABLE_PULSEAUDIO:BOOL=OFF +PULSEAUDIO_CMAKE_OFF= -DDISABLE_PULSEAUDIO:BOOL=ON PORTAUDIO_DESC= Enable PortAudio (mic) support +PORTAUDIO_LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 +PORTAUDIO_CMAKE_ON= -DDISABLE_PORTAUDIO:BOOL=OFF +PORTAUDIO_CMAKE_OFF= -DDISABLE_PORTAUDIO:BOOL=ON +DEBUG_MAKE_ENV= VERBOSE=yes +DEBUG_CMAKE_ON= -DFASTLOG:BOOL=ON +DEBUG_CMAKE_OFF= -DFASTLOG:BOOL=OFF FRAMEDUMPS_DESC= Encode framedumps in AVI format -OPTIONS_DEFAULT= PORTAUDIO FRAMEDUMPS UPNP - -.include +FRAMEDUMPS_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ + libavformat.so:${PORTSDIR}/multimedia/ffmpeg \ + libswscale.so:${PORTSDIR}/multimedia/ffmpeg \ + libavutil.so:${PORTSDIR}/multimedia/ffmpeg +FRAMEDUMPS_CMAKE_ON= -DENCODE_FRAMEDUMPS:BOOL=ON +FRAMEDUMPS_CMAKE_OFF= -DENCODE_FRAMEDUMPS:BOOL=OFF +UPNP_LIB_DEPENDS= libminiupnpc.so:${PORTSDIR}/net/miniupnpc +UPNP_CMAKE_ON= -DUSE_UPNP:BOOL=ON +UPNP_CMAKE_OFF= -DUSE_UPNP:BOOL=OFF +NLS_USES= gettext +NLS_CMAKE_ON= -DDISABLE_NLS:BOOL=OFF +NLS_CMAKE_OFF= -DDISABLE_NLS:BOOL=ON -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CMAKE_ARGS+= -DDISABLE_NLS:BOOL=ON -PLIST_SUB+= NLS="@comment " -.endif +.include +# XXX Temporary workaround for ports/184540 .if ${PORT_OPTIONS:MDEBUG} -CMAKE_ARGS+= -DFASTLOG:BOOL=ON -MAKE_ENV+= VERBOSE=yes +INSTALL_TARGET= install .endif -.if ${PORT_OPTIONS:MPULSEAUDIO} -LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio -.else -CMAKE_ARGS+= -DDISABLE_PULSEAUDIO:BOOL=ON -.endif - -.if ${PORT_OPTIONS:MPORTAUDIO} -LIB_DEPENDS+= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 -.else -CMAKE_ARGS+= -DDISABLE_PORTAUDIO:BOOL=ON -.endif - -.if ${PORT_OPTIONS:MFRAMEDUMPS} -CMAKE_ARGS+= -DENCODE_FRAMEDUMPS:BOOL=ON -LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ - libavformat.so:${PORTSDIR}/multimedia/ffmpeg \ - libswscale.so:${PORTSDIR}/multimedia/ffmpeg \ - libavutil.so:${PORTSDIR}/multimedia/ffmpeg -.else -CMAKE_ARGS+= -DENCODE_FRAMEDUMPS:BOOL=OFF -.endif - -.if ${PORT_OPTIONS:MUPNP} -CMAKE_ARGS+= -DUSE_UPNP:BOOL=ON -LIB_DEPENDS+= libminiupnpc.so:${PORTSDIR}/net/miniupnpc -.else -CMAKE_ARGS+= -DUSE_UPNP:BOOL=OFF -.endif - -.include - .if !empty(ICONV_LIB) -CMAKE_ARGS+= -DUSE_ICONV:BOOL=ON +CMAKE_ARGS+= -DICONV_LINK:BOOL=ON .else -CMAKE_ARGS+= -DUSE_ICONV:BOOL=OFF +CMAKE_ARGS+= -DICONV_LINK:BOOL=OFF .endif .include Modified: head/emulators/dolphin-emu/files/patch-Source-Core-DolphinWX-CMakeLists.txt ============================================================================== --- head/emulators/dolphin-emu/files/patch-Source-Core-DolphinWX-CMakeLists.txt Tue Jan 21 07:25:23 2014 (r340560) +++ head/emulators/dolphin-emu/files/patch-Source-Core-DolphinWX-CMakeLists.txt Tue Jan 21 07:26:24 2014 (r340561) @@ -14,12 +14,12 @@ else() - set(LIBS ${LIBS} png iconv) + set(LIBS ${LIBS} png) -+ set(USE_ICONV True) ++ set(ICONV_LINK True) +endif() + -+if(USE_ICONV) -+ message( "-- Adding iconv") -+ set(LIBS ${LIBS} iconv) ++if(ICONV_LINK) ++ message( "-- Linking to libiconv") ++ set(LIBS ${LIBS} iconv) endif() if(LIBAV_FOUND)