Hi,

On Wed, Jul 15, 2020 at 10:51:21AM +0100, Stuart Henderson wrote:
> graphics/makehuman
[...]

> cd 
> /pobj/makehuman-1.2.0beta2/makehuman-1c6a4147eeec0f1f07f73904f33ebd4e8ef0065a/makehuman
>  && /usr/local/bin/python3.8 compile_models.py
> Traceback (most recent call last):
>   File "compile_models.py", line 44, in <module>
>     import module3d
>   File "./core/module3d.py", line 41, in <module>
>     import numpy as np
> ModuleNotFoundError: No module named 'numpy'

makehuman needs (at least) two of its run dependencies at build time:

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/makehuman/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile    13 Jul 2020 20:09:27 -0000      1.31
+++ Makefile    15 Jul 2020 22:46:02 -0000
@@ -27,6 +27,9 @@ RUN_DEPENDS=  devel/desktop-file-utils \
                math/py-numpy${MODPY_FLAVOR} \
                x11/py-qt5${MODPY_FLAVOR}
 
+BUILD_DEPENDS= math/py-numpy${MODPY_FLAVOR} \
+               x11/py-qt5${MODPY_FLAVOR}
+
 do-build:
        cd ${WRKSRC}/makehuman && ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py .
 .for TARGET in models proxies targets

Reply via email to