diff --git a/misc/urh/Makefile b/misc/urh/Makefile index 16734bff7ab5..0636d80b3a73 100644 --- a/misc/urh/Makefile +++ b/misc/urh/Makefile @@ -1,31 +1,35 @@ PORTNAME= urh DISTVERSION= 2.9.3 CATEGORIES= misc hamradio python MASTER_SITES= CHEESESHOP MAINTAINER= yuri@FreeBSD.org COMMENT= Universal Radio Hacker: investigate wireless protocols like a boss LICENSE= GPLv3 +.if !exists(/usr/include/omp.h) +BROKEN= requires OpenMP support that is missing on this architecture +.endif + BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR} USES= compiler:c++11-lang fortran python:3.4+ localbase pyqt:5 USE_PYQT= pyqt5 USE_PYTHON= distutils cython noflavors autoplist PLIST_FILES= bin/urh.shadow post-install: @${MV} ${STAGEDIR}${PREFIX}/bin/urh ${STAGEDIR}${PREFIX}/bin/urh.shadow @(echo "#!/bin/sh"; \ echo ""; \ echo "LD_PRELOAD=${PREFIX}/lib/gcc${GCC_DEFAULT}/libgcc_s.so ${PREFIX}/bin/urh.shadow \"$$@\"" \ ) > ${STAGEDIR}${PREFIX}/bin/urh @${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/urh ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/urh/cythonext/*.so .include