Index: head/emulators/py-unicorn/Makefile =================================================================== --- head/emulators/py-unicorn/Makefile (revision 527472) +++ head/emulators/py-unicorn/Makefile (revision 527473) @@ -1,27 +1,27 @@ # $FreeBSD$ PORTNAME= unicorn -DISTVERSION= 1.0.2-rc1 +DISTVERSION= 1.0.2-rc2 CATEGORIES= emulators python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Python bindings for Unicorn CPU emulator framework LICENSE= BSD3CLAUSE LIB_DEPENDS= libunicorn.so:emulators/unicorn USE_GITHUB= yes GH_ACCOUNT= unicorn-engine USES= python USE_PYTHON= distutils autoplist WRKSRC_SUBDIR= bindings/python do-test: @(cd ${WRKSRC}; for sample in sample_*.py; do \ ${SETENV} ${TEST_ENV} ${PYTHON_CMD} $${sample}; \ done) .include Index: head/emulators/py-unicorn/distinfo =================================================================== --- head/emulators/py-unicorn/distinfo (revision 527472) +++ head/emulators/py-unicorn/distinfo (revision 527473) @@ -1,3 +1,3 @@ -TIMESTAMP = 1579342823 -SHA256 (unicorn-engine-unicorn-1.0.2-rc1_GH0.tar.gz) = d6d71e9854e53b5268792572656d87ccde8ff726e6f9343aab6da46089367983 -SIZE (unicorn-engine-unicorn-1.0.2-rc1_GH0.tar.gz) = 3340182 +TIMESTAMP = 1581835422 +SHA256 (unicorn-engine-unicorn-1.0.2-rc2_GH0.tar.gz) = aed3111b103c0c870de916ac4f96fda8c82ccdeb005c010b96fd61615435325f +SIZE (unicorn-engine-unicorn-1.0.2-rc2_GH0.tar.gz) = 3746757 Index: head/emulators/py-unicorn/files/patch-setup.py =================================================================== --- head/emulators/py-unicorn/files/patch-setup.py (revision 527472) +++ head/emulators/py-unicorn/files/patch-setup.py (revision 527473) @@ -1,16 +1,16 @@ # Do not bundle libunicorn.so ---- setup.py.orig 2019-10-08 02:44:50 UTC +--- setup.py.orig 2020-02-15 00:22:32 UTC +++ setup.py -@@ -268,11 +268,4 @@ setup( +@@ -266,11 +266,4 @@ setup( 'Programming Language :: Python :: 3', ], requires=['ctypes'], - cmdclass=cmdclass, - zip_safe=True, - include_package_data=True, - is_pure=True, - package_data={ - 'unicorn': ['lib/*', 'include/unicorn/*'] - } ) Index: head/emulators/unicorn/Makefile =================================================================== --- head/emulators/unicorn/Makefile (revision 527472) +++ head/emulators/unicorn/Makefile (revision 527473) @@ -1,37 +1,37 @@ # $FreeBSD$ PORTNAME= unicorn -DISTVERSION= 1.0.2-rc1 +DISTVERSION= 1.0.2-rc2 CATEGORIES= emulators MAINTAINER= antoine@FreeBSD.org COMMENT= Unicorn CPU emulator framework LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING TEST_DEPENDS= cmocka>0:sysutils/cmocka BROKEN_armv6= fails to compile: 'tcg-target.h' file not found BROKEN_armv7= fails to compile: 'tcg-target.h' file not found BROKEN_mips= fails to compile: 'ICACHE' undeclared (first use in this function) BROKEN_mips64= fails to compile: 'ICACHE' undeclared (first use in this function) USE_GITHUB= yes GH_ACCOUNT= unicorn-engine USES= compiler:c11 gmake python:build USE_LDCONFIG= yes BINARY_ALIAS= python=${PYTHON_CMD} MAKE_ENV= INSTALL_LIB="${INSTALL_LIB}" \ SMP_MFLAGS=-j${MAKE_JOBS_NUMBER} \ V=1 TEST_TARGET= test TEST_WRKSRC= ${WRKSRC}/tests/unit _MAKE_JOBS= # MAKE_JOBS_NUMBER is passed via MAKE_ENV # Optimization breaks runtime, # see https://github.com/unicorn-engine/unicorn/issues/356 # and https://github.com/unicorn-engine/unicorn/issues/689 CFLAGS:= ${CFLAGS:C/-O[1-9]/-O0/g} .include Index: head/emulators/unicorn/distinfo =================================================================== --- head/emulators/unicorn/distinfo (revision 527472) +++ head/emulators/unicorn/distinfo (revision 527473) @@ -1,3 +1,3 @@ -TIMESTAMP = 1579342823 -SHA256 (unicorn-engine-unicorn-1.0.2-rc1_GH0.tar.gz) = d6d71e9854e53b5268792572656d87ccde8ff726e6f9343aab6da46089367983 -SIZE (unicorn-engine-unicorn-1.0.2-rc1_GH0.tar.gz) = 3340182 +TIMESTAMP = 1581835422 +SHA256 (unicorn-engine-unicorn-1.0.2-rc2_GH0.tar.gz) = aed3111b103c0c870de916ac4f96fda8c82ccdeb005c010b96fd61615435325f +SIZE (unicorn-engine-unicorn-1.0.2-rc2_GH0.tar.gz) = 3746757 Index: head/emulators/unicorn/files/patch-tests_unit_Makefile =================================================================== --- head/emulators/unicorn/files/patch-tests_unit_Makefile (revision 527472) +++ head/emulators/unicorn/files/patch-tests_unit_Makefile (revision 527473) @@ -1,11 +1,12 @@ ---- tests/unit/Makefile.orig 2019-10-08 02:44:50 UTC +--- tests/unit/Makefile.orig 2020-02-15 00:22:32 UTC +++ tests/unit/Makefile -@@ -1,7 +1,7 @@ +@@ -1,8 +1,7 @@ CFLAGS += -Wall -Werror -Wno-unused-function -g CFLAGS += -D__USE_MINGW_ANSI_STDIO=1 CFLAGS += -L ../../ -I ../../include -CFLAGS += -L ../../cmocka/src -I ../../cmocka/include +-CFLAGS += -L /usr/local/lib -I /usr/local/include +CFLAGS += -L $(LOCALBASE)/lib -I $(LOCALBASE)/include ASFLAGS += --32 OBJCOPY = objcopy