logo       

Help with a first portfile.: msg#00598

Subject: Help with a first portfile.
The 'Install' phase chokes - examination shows that the Makefile doesn't have 
'prefix' set properly.
_OR_ after I add the line recommended at:
http://darwinports.opendarwin.org/docs/ch03s02.html#installing

install.destroot     mandir=${destroot}${prefix}/man prefix=${destroot}${prefix}

to the Portfile, I get:
Minime:~/Projects/dp/darwinports/dports/emulators/bochs bluea$ sudo port -d -v 
install
DEBUG: com.apple.package registered provides 'package', a pre-existing 
procedure. Target override will not be provided
Unable to open port: invalid command name "install.destroot"

The 'build' appears correct AFAIK.

1) What _should_ the 'prefix' in the Makefile be? A full-path to the future 
destroot? Relative? Relative to _what_... exactly.
2) What's up with "install.destroot"? Is this something that changed?

I could use reinplace to 'fix' the Makefile, but I'd think it should be set. 
Somewhere. Upstream.

Any thoughts/guidance?
I've gone through the Guide a couple of times, so if its in there, I missed it. 

Thanks in advance for any assistance.

--
Alan S. Blue
alansblue@xxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>