Python port group overwrites CMAKE_MAKE_PROGRAM, breaks configure in opencv4
Steven Smith
steve.t.smith at gmail.com
Mon Jul 13 21:51:40 UTC 2020
I’m trying to build python wrappers in the opencv4 Portfile. Port opencv4 uses the cmake 1.1 port group.
The issue I’m running into is that when I add the port group python, the environment variable CMAKE_MAKE_PROGRAM is defined as `python setup.py --no-user-cfg` (actual -D option below), and this breaks the configure stage.
How should this be prevented when the port groups cmake and python are used together, and configure should use make, not python?
-DCMAKE_MAKE_PROGRAM=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200713/379e13e5/attachment.bin>
More information about the macports-dev
mailing list