Index: head/emulators/pearpc/Makefile =================================================================== --- head/emulators/pearpc/Makefile (revision 151833) +++ head/emulators/pearpc/Makefile (revision 151834) @@ -1,106 +1,106 @@ # New ports collection makefile for: pearpc # Date created: 22 May 2004 # Whom: Roman Bogorodskiy # # $FreeBSD$ # PORTNAME= pearpc -PORTVERSION= 0.3.1 +PORTVERSION= 0.4 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= novel@FreeBSD.org COMMENT= PowerPC emulator USE_XLIB= yes USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} PKGMESSAGE= ${WRKDIR}/pkg-message MAN1= ppc.1 PLIST_FILES= bin/ppc etc/ppccfg.example %%DATADIR%%/video.x PLIST_DIRS= %%DATADIR%% .if defined(WITH_OPTIMIZED_CFLAGS) CFLAGS+= -O3 -ffast-math .else CONFIGURE_ARGS+= --disable-fpo .endif # GTK and QT ui are broken in this version # #.if defined(WITH_QT) #CONFIGURE_ARGS+= --enable-ui=qt #USE_QT_VER= 3 #QTDIR?= ${X11BASE} #CONFIGURE_ENV+= QTDIR="${QTDIR}" #.else #CONFIGURE_ARGS+= --enable-ui=nogui #.endif .if defined(WITH_SDL) CONFIGURE_ARGS+= --enable-ui=sdl USE_SDL= sdl .else CONFIGURE_ARGS+= --enable-ui=x11 .endif .if defined(WITH_DEBUG) CONFIGURE_ARGS+= --enable-debug .else CONFIGURE_ARGS+= --disable-debug .endif .include .if ${ARCH} == "ia64" BROKEN= "Internal compiler error on ia64" .endif # jitc_x86 is avaible only on x86 .if ${ARCH} == "i386" BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm .if !defined(WITH_JITC) CONFIGURE_ARGS+= --enable-cpu=generic .else CONFIGURE_ARGS+= --enable-cpu=jitc_x86 .endif # WITH_JITC .else CONFIGURE_ARGS+= --enable-cpu=generic .endif .if ${OSVERSION} < 500000 USE_GCC= 3.4 CFLAGS+= -DFREEBSD_MB_SUPPORT .endif pre-everything:: .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "" @${ECHO_MSG} "You can do optimized build defining WITH_OPTIMIZED_CFLAGS=yes." @${ECHO_MSG} "" .endif post-extract: @${REINPLACE_CMD} -e 's|-g -O2||;s|-O2||' ${WRKSRC}/configure post-configure: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/src/Makefile .if ${OSVERSION} < 500000 @${CP} ${FILESDIR}/wcrtomb.c ${FILESDIR}/mbrtowc.c \ ${WRKSRC}/ .endif post-install: @${MKDIR} ${DATADIR} @${INSTALL_DATA} ${WRKSRC}/video.x ${DATADIR}/video.x @${SED} -e 's,PREFIX,${PREFIX},g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} @${INSTALL_DATA} ${WRKSRC}/ppccfg.example ${PREFIX}/etc/ppccfg.example .include Property changes on: head/emulators/pearpc/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.18 \ No newline at end of property +1.19 \ No newline at end of property Index: head/emulators/pearpc/distinfo =================================================================== --- head/emulators/pearpc/distinfo (revision 151833) +++ head/emulators/pearpc/distinfo (revision 151834) @@ -1,2 +1,3 @@ -MD5 (pearpc-0.3.1.tar.gz) = d7ac0566f6ab884029e374ac68842932 -SIZE (pearpc-0.3.1.tar.gz) = 834258 +MD5 (pearpc-0.4.tar.gz) = c0eaeb588da2d6cd0ccfd62ea426e35f +SHA256 (pearpc-0.4.tar.gz) = cf9501dc95b418dc9632e57c75d59e78ec5204db0ed6b41abced2cea30021cce +SIZE (pearpc-0.4.tar.gz) = 910621 Property changes on: head/emulators/pearpc/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/emulators/pearpc/files/patch-gcc34 =================================================================== --- head/emulators/pearpc/files/patch-gcc34 (revision 151833) +++ head/emulators/pearpc/files/patch-gcc34 (nonexistent) @@ -1,41 +0,0 @@ ---- src/cpu/cpu_jitc_x86/ppc_cpu.h.orig Tue Oct 5 15:48:01 2004 -+++ src/cpu/cpu_jitc_x86/ppc_cpu.h Tue Oct 5 17:03:40 2004 -@@ -112,7 +112,8 @@ - uint32 current_code_base; - } PACKED; - --enum PPC_Register { -+ -+/*enum PPC_Register { - PPC_REG_NO = 0, - PPC_GPR0 = offsetof(PPC_CPU_State, gpr), - PPC_FPR1 = offsetof(PPC_CPU_State, fpr), -@@ -132,7 +133,27 @@ - PPC_PVR = offsetof(PPC_CPU_State, pvr), - PPC_HID0 = offsetof(PPC_CPU_State, hid), - PPC_HID1 = offsetof(PPC_CPU_State, hid)+sizeof (uint32), --}; -+};*/ -+#define PPC_Register size_t -+#define PPC_REG_NO 0 -+#define PPC_GPR0 offsetof(PPC_CPU_State, gpr) -+#define PPC_FPR1 offsetof(PPC_CPU_State, fpr) -+#define PPC_CR offsetof(PPC_CPU_State, cr) -+#define PPC_FPSCR offsetof(PPC_CPU_State, fpscr) -+#define PPC_XER offsetof(PPC_CPU_State, xer) -+#define PPC_LR offsetof(PPC_CPU_State, lr) -+#define PPC_CTR offsetof(PPC_CPU_State, ctr) -+#define PPC_MSR offsetof(PPC_CPU_State, msr) -+#define PPC_SRR0 offsetof(PPC_CPU_State, srr) -+#define PPC_SRR1 offsetof(PPC_CPU_State, srr)+sizeof (uint32) -+#define PPC_DSISR offsetof(PPC_CPU_State, dsisr) -+#define PPC_DAR offsetof(PPC_CPU_State, dar) -+#define PPC_DEC offsetof(PPC_CPU_State, dec) -+#define PPC_SDR1 offsetof(PPC_CPU_State, sdr1) -+#define PPC_EAR offsetof(PPC_CPU_State, ear) -+#define PPC_PVR offsetof(PPC_CPU_State, pvr) -+#define PPC_HID0 offsetof(PPC_CPU_State, hid) -+#define PPC_HID1 offsetof(PPC_CPU_State, hid)+sizeof (uint32) - - enum PPC_CRx { - PPC_CR0=0, Property changes on: head/emulators/pearpc/files/patch-gcc34 ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property