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 Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to