Subject: Re: CVS commit: pkgsrc/graphics/imlib2
To: None <pkgsrc-changes@NetBSD.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 06/10/2005 22:02:53
On Fri, Jun 10, 2005 at 09:37:37PM +0200, jmmv@home.network wrote:
> >
> > Module Name: pkgsrc
> > Committed By: wiz
> > Date: Fri Jun 10 18:21:45 UTC 2005
> >
> > Modified Files:
> > pkgsrc/graphics/imlib2: options.mk
> >
> > Log Message:
> > Slightly different solution to previous:
> > just ignore mmx pkg_option if set on non-i386.
>
> I think that the best way to achieve this is to only add mmx to
> PKG_SUPPORTED_OPTIONS when on i386. This way you can handle the
> PKG_OPTIONS:Mmmx unconditionally. (FWIW, this is what I did in
> mplayer during the switch and proved to be very useful.)
I prefer this method, because otherwise PKG_SUPPORTED_OPTIONS is
empty and the options framework doesn't like this.
Thomas