On Oct 11, 2007, at 02:47, N_Ox wrote:

Le 10 oct. 07 à 17:23, Instruct ICC a écrit :

> btw @Instruct ICC : AFAIK port configure foo doesnt take config
> options -- it merely starts the configure phase of the port
> instalation. Configuration tags are set via the portfile which you
> can inspect with port cat foo if you are curious. Some others are
> set in port itself (like macos


I see
configure.args  --enable-shared \
                        --mandir=${prefix}/share/man \
                        --disable-framework

So I'd have to edit configure.args here if a variant was not available? How could I make a new variant? (Just asking. No need yet. I suppose I should also inform the maintainer?)
Ahh, I see
variant universal {
    configure.args-append   --enable-universalsdk
}

Why is this Macports low level stuff getting interesting to me? I have work to do. ;)

Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! Try now!

universalsdk does not play well with MacPorts and the current
universal support does work with latest Xcode Developer Tools.

Anthony, I don't think he cares about universalsdk specifically. He was just asking how to create a variant in general, and was showing an example he found.

To the original poster: there is a MacPorts guide being written which explains how to write ports, which you may read if you're interested. It's currently at:

http://geeklair.net/new_macports_guide/

If you have other work to do, you certainly don't need to be interested in making your own ports. You can submit tickets in Trac and assign them to the port's maintainer and leave the work for them to do. But for ports whose maintainers are busy, or which have no maintainers, the ticket may just sit there for awhile. That's the fun of a community-driven project. :)

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to