46 lines
908 B
Makefile
46 lines
908 B
Makefile
|
BROKEN-sparc64 = multiple definition of use_vis3_instructions
|
||
|
BROKEN-riscv64 = /usr/ports/pobj/py-unicorn-1.0.2-python3/unicorn-1.0.2/src/qemu/tcg/tcg.h:30:10: fatal error: 'tcg-target.h' file not found
|
||
|
|
||
|
COMMENT = Unicorn CPU emulator engine
|
||
|
|
||
|
MODPY_EGG_VERSION = 1.0.3
|
||
|
DISTNAME = unicorn-${MODPY_EGG_VERSION}
|
||
|
PKGNAME = py-${DISTNAME}
|
||
|
REVISION = 2
|
||
|
|
||
|
CATEGORIES = devel
|
||
|
|
||
|
HOMEPAGE = https://www.unicorn-engine.org
|
||
|
|
||
|
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
||
|
|
||
|
# GPLv2
|
||
|
PERMIT_PACKAGE = Yes
|
||
|
|
||
|
WANTLIB += m
|
||
|
|
||
|
MODULES = lang/python
|
||
|
|
||
|
MODPY_PI = Yes
|
||
|
MODPY_PYBUILD = setuptools
|
||
|
|
||
|
FLAVORS = python3
|
||
|
FLAVOR = python3
|
||
|
|
||
|
USE_GMAKE = Yes
|
||
|
|
||
|
MAKE_ENV += V=1
|
||
|
|
||
|
# our ld.bfd has no '-Bsymbolic-functions' option support
|
||
|
.include <bsd.port.arch.mk>
|
||
|
.if ${PROPERTIES:Mlld}
|
||
|
MAKE_ENV += LD_IS_LLD=1
|
||
|
.else
|
||
|
MAKE_ENV += LD_IS_LLD=0
|
||
|
.endif
|
||
|
|
||
|
pre-configure:
|
||
|
${SUBST_CMD} ${WRKSRC}/src/Makefile
|
||
|
|
||
|
.include <bsd.port.mk>
|