On Thu, Mar 03, 2005, David M. Fetter wrote:
>On Thu, 2005-03-03 at 13:25 -0800, Bill Campbell wrote:
>> On Thu, Mar 03, 2005, David M. Fetter wrote:
>> >Something seems wrong with how Expect and Tcl interacts in regards to
>> >dependencies.  The problem occurs if you have a prior version of Tcl and
>> >Expect installed, then go to upgrade to any other version.  What happens
>> ...
>> >Line #60, which is the BuildPreReq, has the same line.  I'm not sure if
>> >this should be changed though.  I'm thinking that only the PreReq should
>> >be changed while the BuildPreReq stays with the specific version as that
>> >seems that it would logically function as is needed and not break
>> >updating from an older version to newer as well.  Does this logic seem
>> >proper to you guys?
>> 
>> This is a long-standing issue.  My solution has been to massage the output
>> of ``openpkg build'' to add ``--nodeps'' to the installation commands for
>> tcl and expect before running the generated script.
>
>Is this "massaging" part of the build tools or something you are stating
>you do manually?

I have a script that I run on the output which uses shtool to
make fixes to the script.  Basically it is a superset of this:

#!/bin/sh

${l_prefix}/lib/openpkg/shtool subst \
        -e '/^sudo.*expect/s/-Uvh/--nodeps -Uvh/' \
        -e '/^sudo.*tcl/s/-Uvh/--nodeps -Uvh/' \
        ....
        "$@"
exit;

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Those who profess to favor freedom, and yet depreciate agitation, are
men who want rain without thunder and lightning.  They want the ocean
without the roar of its many waters.
                -- Frederick Douglass
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to