Howto build with_option

2004-06-22 Thread Alexander Belck
What is the sintax for `openpkg build foo` and have it use something like:
  -define with_zlib yes or if possible a short way like -D with_zlib

Is it possible to get the same options used when upgrading a package ? How ?

thanks,

Alex


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: Howto build with_option

2004-06-22 Thread Michael van Elst
On Tue, Jun 22, 2004 at 06:26:56PM -0300, Alexander Belck wrote:
 What is the sintax for `openpkg build foo` and have it use something like:
   -define with_zlib yes or if possible a short way like -D with_zlib

just as you say:

-Dwith_zlib

builds with

--define with_zlib yes

If you have options with a different value then write

-Dwith_option=value

 Is it possible to get the same options used when upgrading a package ? How ?

This is done automatically. The build tool will fetch the option
values from the installed package and build the upgrade with the
same options unless you override these on the command line.

-- 
Michael van Elst
Internet: [EMAIL PROTECTED]
A potential Snark may lurk in every tree.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]