It's easier to answer if you send the WIP port, but generally you can
use one of these:

- MODPY_ADJ_FILES= path/to/script

- patch the file to use "${MODPY_BIN}" and then use
"${SUBST_CMD} ${WRKSRC}/path/to/script" in a ports Makefile target


On 2018/05/30 07:56, Ken M wrote:
> Sorry to bump, but wanted to bump this question about this.
> 
> On Mon, May 28, 2018 at 11:50:46AM -0400, Ken M wrote:
> > So in moving the port over to an i386 install to test I found a problem I 
> > am not
> > sure how to fix.
> > 
> > The port is looking for /usr/local/bin/python which on the machine I set up 
> > is a
> > symlink to /usr/local/bin/python2.  In short I need to tweak this to look 
> > for
> > python2 specifically and not count on that symlink.
> > 
> > How can I make the MODPY_BIN look for that instead. Just hard code it 
> > earlier.
> > That seems fragile to me.
> > 
> > Sorry I am a beginner at this but trying to get myself up to speed.
> > 
> > Ken
> > 
> > On Thu, May 24, 2018 at 11:04:29PM -0400, Ken M wrote:
> > > First time submitting a port, and pretty new to it all anyway.
> > > 
> > > I have tested/built this on amd64 only. It is a pre-requisite to getting 
> > > some
> > > other audio software ported over. So call it baby step #1.
> > > 
> > > Ken
> > 
> > 
> 

Reply via email to