From owner-svn-ports-head@FreeBSD.ORG Wed Jul 30 23:02:16 2014 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 A38FD30C; Wed, 30 Jul 2014 23:02:16 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 90C9421DC; Wed, 30 Jul 2014 23:02:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6UN2GkR094192; Wed, 30 Jul 2014 23:02:16 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6UN2GCn094189; Wed, 30 Jul 2014 23:02:16 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407302302.s6UN2GCn094189@svn.freebsd.org> From: John Marino Date: Wed, 30 Jul 2014 23:02:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363524 - in head/emulators/pearpc: . 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.18 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: Wed, 30 Jul 2014 23:02:16 -0000 Author: marino Date: Wed Jul 30 23:02:15 2014 New Revision: 363524 URL: http://svnweb.freebsd.org/changeset/ports/363524 QAT: https://qat.redports.org/buildarchive/r363524/ Log: emulators/pearpc: Upgrade version 0.4 => 0.5 and stage PR: 191819 Submitted by: Ports Fury Added: head/emulators/pearpc/files/patch-src__cpu__mem.h (contents, props changed) Deleted: head/emulators/pearpc/files/mbrtowc.c head/emulators/pearpc/files/patch-src__io__prom__fs__hfsplus__unicode.c head/emulators/pearpc/files/pkg-message.in head/emulators/pearpc/files/wcrtomb.c Modified: head/emulators/pearpc/Makefile head/emulators/pearpc/distinfo Modified: head/emulators/pearpc/Makefile ============================================================================== --- head/emulators/pearpc/Makefile Wed Jul 30 22:45:03 2014 (r363523) +++ head/emulators/pearpc/Makefile Wed Jul 30 23:02:15 2014 (r363524) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= pearpc -PORTVERSION= 0.4 -PORTREVISION= 5 +PORTVERSION= 0.5 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}.0 @@ -12,61 +11,50 @@ COMMENT= PowerPC architecture emulator LICENSE= GPLv2 -GNU_CONFIGURE= yes +USES= tar:bzip2 USE_XORG= x11 -MAN1= ppc.1 -SUB_FILES= pkg-message - -PLIST_FILES= bin/ppc etc/ppccfg.example %%DATADIR%%/video.x -PLIST_DIRS= %%DATADIR%% - -OPTIONS_DEFINE= SDL OPTIMIZED_CFLAGS DEBUG -SDL_DESC= Use SDL for user interface +GNU_CONFIGURE= yes -NO_STAGE= yes -.include +BROKEN_ia64= Internal compiler error on ia64 -.if ${ARCH} == "ia64" -BROKEN= Internal compiler error on ia64 -.endif +PORTEXAMPLES= ppccfg.example +PLIST_FILES= bin/ppc man/man1/ppc.1.gz %%DATADIR%%/video.x +PLIST_DIRS= %%DATADIR%% -.if ${PORT_OPTIONS:MSDL} -CONFIGURE_ARGS+= --enable-ui=sdl -USE_SDL= sdl -.else -CONFIGURE_ARGS+= --enable-ui=x11 -.endif +OPTIONS_DEFINE= DEBUG EXAMPLES OPTIMIZED_CFLAGS SDL -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CFLAGS+= -O3 -ffast-math -.else -CONFIGURE_ARGS+= --disable-fpo -.endif +DEBUG_CONFIGURE_ENABLE= debug +OPTIMIZED_CFLAGS_CFLAGS= -O3 -ffast-math +OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= fpo +SDL_USE= sdl=sdl +SDL_CONFIGURE_ON= --enable-ui=sdl +SDL_CONFIGURE_OFF= --enable-ui=x11 -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --enable-profiling # implies --enable-debug -.endif +.include -.if ${ARCH} == "i386" -BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm -CONFIGURE_ARGS+= --enable-cpu=jitc_x86 +.if ${ARCH} == "amd64" || ${ARCH} == "i386" +USE_GCC= yes .else CONFIGURE_ARGS+= --enable-cpu=generic .endif -post-extract: - @${REINPLACE_CMD} -e 's|-g -O2||;s|-O2||' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|PROCESS_CPUTIME|THREAD_CPUTIME|' \ +post-patch: + @${REINPLACE_CMD} -e \ + 's|-O3|| ; \ + s|^\(x86_64\)|amd64\* \| \1| ; \ + s|-g -O2||' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|video\.x"|${DATADIR}/&|' ${WRKSRC}/ppccfg.example + @${REINPLACE_CMD} -e \ + 's|PROCESS_CPUTIME|THREAD_CPUTIME|' \ ${WRKSRC}/src/system/osapi/posix/systimer.cc - @${REINPLACE_CMD} -e 's|video\.x"|${DATADIR}/&|' \ - ${WRKSRC}/ppccfg.example post-install: - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/video.x ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/ppccfg.example ${PREFIX}/etc - @${ECHO_CMD} - @${CAT} ${PKGMESSAGE} - @${ECHO_CMD} + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC} && ${INSTALL_DATA} video.x \ + ${STAGEDIR}${DATADIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ppccfg.example \ + ${STAGEDIR}${EXAMPLESDIR}) -.include +.include Modified: head/emulators/pearpc/distinfo ============================================================================== --- head/emulators/pearpc/distinfo Wed Jul 30 22:45:03 2014 (r363523) +++ head/emulators/pearpc/distinfo Wed Jul 30 23:02:15 2014 (r363524) @@ -1,2 +1,2 @@ -SHA256 (pearpc-0.4.tar.gz) = cf9501dc95b418dc9632e57c75d59e78ec5204db0ed6b41abced2cea30021cce -SIZE (pearpc-0.4.tar.gz) = 910621 +SHA256 (pearpc-0.5.tar.bz2) = 4b5ac6b111ba55640c2b2d1de9c4f68cb211aadc472474a564ad9ce6a645fbd3 +SIZE (pearpc-0.5.tar.bz2) = 800380 Added: head/emulators/pearpc/files/patch-src__cpu__mem.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/pearpc/files/patch-src__cpu__mem.h Wed Jul 30 23:02:15 2014 (r363524) @@ -0,0 +1,11 @@ +--- src/cpu/mem.h.orig ++++ src/cpu/mem.h +@@ -23,7 +23,7 @@ + + #include "system/types.h" + +-bool ppc_init_physical_memory(uint size); ++bool FASTCALL ppc_init_physical_memory(uint size); + + uint32 ppc_get_memory_size(); +