2021-11-02 00:00:59 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2021/11/02 00:01:03 sthen Exp $
|
2020-02-12 13:59:16 +00:00
|
|
|
|
|
|
|
BROKEN-sparc64 = multiple definition of use_vis3_instructions
|
2021-08-07 16:46:17 +00:00
|
|
|
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
|
2019-04-01 02:24:07 +00:00
|
|
|
|
|
|
|
COMMENT = Unicorn CPU emulator engine
|
|
|
|
|
2021-08-29 21:17:36 +00:00
|
|
|
MODPY_EGG_VERSION = 1.0.3
|
2019-04-01 02:24:07 +00:00
|
|
|
DISTNAME = unicorn-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = py-${DISTNAME}
|
2021-11-02 00:00:59 +00:00
|
|
|
REVISION = 0
|
2019-04-01 02:24:07 +00:00
|
|
|
|
|
|
|
CATEGORIES = devel
|
|
|
|
|
|
|
|
HOMEPAGE = https://www.unicorn-engine.org
|
|
|
|
|
|
|
|
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2019-04-01 02:24:07 +00:00
|
|
|
|
2019-04-02 13:09:12 +00:00
|
|
|
WANTLIB += m
|
|
|
|
|
2019-04-01 02:24:07 +00:00
|
|
|
MODULES = lang/python
|
|
|
|
|
|
|
|
MODPY_PI = Yes
|
|
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
|
2019-06-01 20:00:01 +00:00
|
|
|
FLAVORS = python3
|
2020-08-19 12:25:12 +00:00
|
|
|
FLAVOR = python3
|
2019-06-01 20:00:01 +00:00
|
|
|
|
2019-04-01 02:24:07 +00:00
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
|
|
|
MAKE_ENV += V=1
|
|
|
|
|
2019-11-05 20:42:34 +00:00
|
|
|
# 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
|
|
|
|
|
2019-04-01 02:24:07 +00:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/src/Makefile
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|