Subject: (structural?) devel/SDL: broken option handling on Slackware Lunix
To: None <>
From: De Zeurkous <>
List: pkgsrc-users
Date: 10/07/2007 21:13:00

For some reason, devel/SDL's doesn't completely adhere to
option selection. To quote the file in question:

.if !empty(PKG_OPTIONS:Marts)
CONFIGURE_ARGS+=        --enable-arts
.include "../../audio/arts/"
CONFIGURE_ARGS+=        --disable-arts

This would seem to imply that arts' is only included when
the 'arts' option is specified. However, clearing PKG_OPTIONS.SDL
explicitly in mk.conf still results in inclusion, causing it to build the
(currently broken; see the PR I filed once it emerges) audio/arts package,
even though it's not required. When commenting out the 'include', SDL
builds successfully.

I've done some simple tests, which indicate that bmake's conditional
inclusions are working fine. I've not been able to test this with other
packages yet, but it still seems like a structural problem to me
personally. Anyone got any thoughts on what's going here?

This was using branch 2007Q2 updated from CVS minutes ago. A rebootstrap
had no measurable effect on this issue.


De Zeurkous

Friggin' Machines!