On 24.07.09 07:37, Karl Rossing wrote:
> yuntong.jin wrote:
>>>
>>>   
>> i think it uses /opt/jdsbld/bin/cp in pkgbuild, /opt/jdsbld/bin/cp 
>> --help, there is only option "-p, --preserve preserve file attributes 
>> if possible" but no --no-preserve option.
>> -simon
>>
> 
> Exactly.... I'm not sure where to go and change that...

you could try setting the PATH, but if that doesn't work, or if it's 
hard-coded:

$ pfexec mv /opt/jdsbld/bin/cp /opt/jdsbld/bin/cp_old
$ pfexec ln -s /usr/gnu/bin/cp /opt/jdsbld/bin/

$ ./configure ....
$ make

and when you're done:

$ pfexec mv /opt/jdsbld/bin/cp_old /opt/jdsbld/bin/cp

though I admit that's a little heavy-handed.
-- 
Michael Schuster        http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'

Reply via email to