pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xmms2 buildlink3.mk file and the options framework



On Sun, Sep 18, 2005 at 11:19:33PM +0000, Leonard Schmidt wrote:
> The default installation gives this:
> 
> $ ldd /usr/pkg/lib/xmms2/libxmms_* | grep -- -
>          -liconv.2 => /usr/pkg/lib/libiconv.so.2
>          -lidn.11 => /usr/pkg/lib/libidn.so.11
>          -lssl.3 => /usr/lib/libssl.so.3
>          -lcrypto.2 => /usr/lib/libcrypto.so.2
>          -lz.0 => /usr/lib/libz.so.0
>          -lcurl.3 => /usr/pkg/lib/libcurl.so.3
>          -lm.0 => /usr/lib/libm387.so.0
>          -lm.0 => /usr/lib/libm.so.0
>          -lFLAC.7 => /usr/pkg/lib/libFLAC.so.7
>          -lmad.0 => /usr/pkg/lib/libmad.so.0
>          -lossaudio.0 => /usr/lib/libossaudio.so.0
>          -logg.0 => /usr/pkg/lib/libogg.so.0
>          -lm.0 => /usr/lib/libm387.so.0
>          -lm.0 => /usr/lib/libm.so.0
>          -lvorbis.0 => /usr/pkg/lib/libvorbis.so.0
>          -lvorbisfile.3 => /usr/pkg/lib/libvorbisfile.so.3

So you should add
libiconv
libidn
openssl
libz
libcurl
flac
libmad
ossaudio
ogg
vorbis
buildlink3.mk files.

I hope I didn't miss any :)

> $ ldd /usr/pkg/bin/xmms2*

These are not important -- a dependency will not link
against another binary.

> Don't the needed packages vary when using the options framework?
> Some things like FLAC or curl can be disabled.

It's not well supported, but there's a way to do this
in pkgsrc -- look at x11/kdebase3/bl3.mk for an example.

> When I include curl in the buildlink3.mk file but disable it through
> the options framework it still is a dependency, no?

It should only be added if the option was used for building
the binary package. See x11/kdebase3/bl3.mk for details on
how to do this.

> I do not know.  I just included what is included in options.mk and it
> does not work.  I also tried various other variables and mk files, but
> with no success.  Disabling pyrex works.

Sorry, I'm not even sure what pyrex is :) and can't help you
here. Try to get something working without that option for now
and we can revisit it later.
 Thomas


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index