mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Unbreak by fixing nasm dependency
- Define LICENCE - Nuke MD5 PR: 156453 (based on) Submitted by: Chris Rees <utisoft@gmail.com>
This commit is contained in:
parent
2fb1466094
commit
072fce92f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273185
3 changed files with 21 additions and 7 deletions
|
@ -14,9 +14,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}.0
|
||||||
MAINTAINER= novel@FreeBSD.org
|
MAINTAINER= novel@FreeBSD.org
|
||||||
COMMENT= PowerPC architecture emulator
|
COMMENT= PowerPC architecture emulator
|
||||||
|
|
||||||
BROKEN= does not build
|
LICENSE= GPLv2
|
||||||
DEPRECATED= has been broken for over a half year
|
|
||||||
EXPIRATION_DATE=2011-04-17
|
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_XORG= x11
|
USE_XORG= x11
|
||||||
|
@ -28,8 +26,7 @@ PLIST_DIRS= %%DATADIR%%
|
||||||
|
|
||||||
OPTIONS= SDL "Use SDL for user interface" off \
|
OPTIONS= SDL "Use SDL for user interface" off \
|
||||||
OPTIMIZED_CFLAGS "Make an optimized build" off \
|
OPTIMIZED_CFLAGS "Make an optimized build" off \
|
||||||
DEBUG "Make debug+profiled build" off \
|
DEBUG "Make debug+profiled build" off
|
||||||
JITC "Enable JITC support (x86 only)" off
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
@ -65,7 +62,7 @@ CONFIGURE_ARGS+= --disable-fpo
|
||||||
CONFIGURE_ARGS+= --enable-profiling # implies --enable-debug
|
CONFIGURE_ARGS+= --enable-profiling # implies --enable-debug
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_JITC) && ${ARCH} == "i386"
|
.if ${ARCH} == "i386"
|
||||||
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
||||||
CONFIGURE_ARGS+= --enable-cpu=jitc_x86
|
CONFIGURE_ARGS+= --enable-cpu=jitc_x86
|
||||||
.else
|
.else
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
MD5 (pearpc-0.4.tar.gz) = c0eaeb588da2d6cd0ccfd62ea426e35f
|
|
||||||
SHA256 (pearpc-0.4.tar.gz) = cf9501dc95b418dc9632e57c75d59e78ec5204db0ed6b41abced2cea30021cce
|
SHA256 (pearpc-0.4.tar.gz) = cf9501dc95b418dc9632e57c75d59e78ec5204db0ed6b41abced2cea30021cce
|
||||||
SIZE (pearpc-0.4.tar.gz) = 910621
|
SIZE (pearpc-0.4.tar.gz) = 910621
|
||||||
|
|
18
emulators/pearpc/files/patch-src-system-osapi-posix-types.h
Normal file
18
emulators/pearpc/files/patch-src-system-osapi-posix-types.h
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
--- src/system/osapi/posix/types.h.orig 2011-04-25 13:24:02.000000000 +0400
|
||||||
|
+++ src/system/osapi/posix/types.h 2011-04-25 13:24:05.000000000 +0400
|
||||||
|
@@ -46,13 +46,13 @@
|
||||||
|
/* FreeBSD versions after importing gcc34 has broken offsetof() */
|
||||||
|
#ifdef __FreeBSD__
|
||||||
|
#include <sys/param.h>
|
||||||
|
-#if __FreeBSD_version >= 502126
|
||||||
|
+#if (__FreeBSD_version >= 502126) && (__FreeBSD_version < 700042)
|
||||||
|
#undef offsetof
|
||||||
|
#define offsetof(TYPE, MEMBER) \
|
||||||
|
(__offsetof__ (reinterpret_cast <size_t> \
|
||||||
|
(&reinterpret_cast <const volatile char &> \
|
||||||
|
(static_cast<TYPE *> (0)->MEMBER))))
|
||||||
|
-#endif /* __FreeBSD_version >= 502126 */
|
||||||
|
+#endif /* (__FreeBSD_version >= 502126) && (__FreeBSD_version < 700042) */
|
||||||
|
#endif /* __FreeBSD__ */
|
||||||
|
|
||||||
|
#endif
|
Loading…
Add table
Reference in a new issue