|
From: Patrick H. <pa...@13...> - 2007-06-26 21:21:22
|
Doug McCorkle wrote: > On Jun 26, 2007, at 11:40 AM, Patrick Hartling wrote: >=20 >> Doug McCorkle wrote: >>> Hello, >>> I am trying to update the gmtl build in MacPorts with the latest= >>> release but am running into problems with the build steps required >>> for MacPorts. MacPorts uses this scheme as noted here: >>> >>> http://trac.macosforge.org/projects/macports/wiki/BuildPhases >>> >>> When prefix is specified to install gmtl into destroot, that is the >>> prefix that is ultimately stored in the fpc file for the gmtl >>> installation prefix. It seems MacPorts expects another command line >>> variable like stage_prefix or sandbox_prefix that allows the >>> installation to be staged but the location not written to *config, >>> pc, and fpc files. I see where other packages employ scripts and sed >>> to overwrite these changes, which I can do, but it seems there may be= >>> a better solution or adding the above mentioned prefix and associated= >>> target. What are everyones thoughts on this subject? I know there was= >>> a similar discussion on the cppdom list about build methods and steps= >>> which I am still working on for cppdom. I hoping that a simpler >>> solution can be arrived at here. >> I don't know if a simpler solution is possible. One would hope that =20 >> fixing >> it for CppDOM would allow a fix to be devised for GMTL--or vice =20 >> versa. It >> would be good to get this issue resolved, but I don't know how to =20 >> fix it for >> either case. >=20 > Again, I am willing to create a potential patch for the issue but =20 > want to make sure the proposed method would be acceptable. Is an =20 > additional prefix target an acceptable solution? In general I like =20 > the way the gmtl build system works. With CppDOM I am running into =20 > general operation issues that cause problems so I cannot even address = > this particular issue with CppDOM yet. So if the additional prefix is = > acceptable the rule set surrounding may be something like: >=20 > if sandbox_prefix and prefix are specified then install to =20 > sandbox_prefix and encode prefix > if prefix is specified operate as normal >=20 > Would this be an acceptable first cut at the problem? That works for me. -Patrick --=20 Patrick L. Hartling VP Engineering, Infiscape Corp. http://www.infiscape.com/ |