Hi, all.
Does the pkgsrc support the mechanism like this behavior?
% ln -sf ${PYTHONBIN} ${WRKDIR}/python
and add the WRKDIR in PATH then during the configure stage, it will do
% cd $(WRKSRC}; python mainprog.py
It will avoid the trouble if there are many 'python' hard coding in the source.
-rxg