build.dir/destroot.dir quirkiness

Jeremy Lavergne jeremy at lavergne.gotdns.org
Tue Mar 3 09:11:58 PST 2009


>> set worksrcpath ${worksrcpath}/src
>
> ${worksrcpath} is not an option and should not be changed. If you  
> need a
> different subdirectory, use the worksrcdir option.


Thanks again for pointing that out.  For others who might have this  
issue, here are my findings to the solution.

At first, I figured I could just change all the worksrcpath to  
worksrcdir, unfortunately, I got this error:
DEBUG: couldn't read file "edbrowse-3.4.3/src/makefile.osx": no such  
file or directory

That path is way shorter than the usual, fully-qualified one.  Digging  
through the Guide I found how each variable is composed:
workpath = ${portbuildpath}/work
worksrcdir = ${distname}
worksrcpath = ${workpath}/${worksrcdir}

Noticing which variables have what paths, I figured out what was  
wrong.  I should have only changed "set worksrcpath", rather than  
changing all instances of worksrcpath as I would then use the  
worksrcpath variable in my phases.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090303/eea6c4d0/attachment.bin>


More information about the macports-dev mailing list