port make?
John B Brown
jbb at vcn.com
Thu Dec 8 17:32:13 PST 2011
Dear Ryan,
So it resides under the subdirectory /opt/local/var/macports/build/ and the
branch under that tree varies with the port file being worked. In the case of
zlib it is:
ll `port work zlib`
total 56
drwxr-xr-x 6 macports admin 204 Dec 4 12:41 ./
drwxr-xr-x 3 macports admin 102 Dec 4 12:41 ../
-rw-r--r-- 1 macports admin 22800 Dec 4 12:41 .CC_PRINT_OPTIONS
-rw-r--r-- 1 macports admin 235 Dec 4 12:41 .macports.zlib.state
drwxr-xr-x 3 root wheel 102 Dec 4 12:41 destroot/
drwxr-xr-x 98 macports admin 3332 Dec 4 12:41 zlib-1.2.5/
Thank you. My settings are for no cleaning so all the sources remain in their
${worksrcpath} for the time being.
Shalom,
John B. Brown.
[jbb at vcn.com]
358 High Street,
Buffalo, Wyoming
82834
"Freedom is not worth having if it does not include
the freedom to make mistakes" Mahatma Gandhi
"There was never a good war or a bad peace."
Benjamin Franklin
"I wonder whether the world is being run
by smart people who are putting us on
or by imbeciles who really mean it." Mark Twain
1-307-684-9068
Ryan Schmidt wrote:
> On Dec 8, 2011, at 11:35, John B Brown wrote:
>
>> I'll be less obscure, so the question will be direct. What does ${portbuildpath} define as? That was the reference I gave which has NO definition whatsoever on the referred page. Better would be a full definition for ${workpath}. Do these things exist under `build' or `source' or `distfiles' or where? I'm not talking some esoteric locations here.
>>
>> This was my original question.
>>
>> ` The reference was enlightening, but what does ${worksrcpath} mean? It is part of the definitions for configure, build, and destroot. Ultimately it's defined in terms of ${portbuildpath} which has only one use on that page in the definition of workpath. ???'
>
>
> Run:
>
> sudo port extract zlib
> port work zlib
>
> The path it prints out is zlib's ${workpath}. I'm not going to say here verbatim what it is because it varies depending on your ${prefix} and where your ports tree is on your disk.
>
> And ${worksrcpath} is just ${workpath}/${worksrcdir}.
>
>
>
More information about the macports-users
mailing list