Subject: Re: (structural?) devel/SDL: broken option handling on Slackware
To: None <>
From: Roland Illig <>
List: pkgsrc-users
Date: 10/07/2007 23:53:11
De Zeurkous wrote:
> Haai,
> For some reason, devel/SDL's doesn't completely adhere to
> option selection. To quote the file in question:
> [snip]
> .if !empty(PKG_OPTIONS:Marts)
> CONFIGURE_ARGS+=        --enable-arts
> .include "../../audio/arts/"
> .else
> CONFIGURE_ARGS+=        --disable-arts
> .endif
> [!snip]

This is completely correct. What's wrong is your understanding of how 
the selection of options works.

When you set PKG_OPTIONS.SDL to an empty value, that means "do nothing 
special for this package". But the thing you had in mind was: "disable 
arts". To achieve this, you need to say:

     PKG_OPTIONS.SDL=   -arts

(I must admit that the text could be a little clearer on this issue, 
since many users understand it wrong.)