[aur-general] GUI

Magnus Therning magnus at therning.org
Tue Oct 5 03:01:18 EDT 2010

On 05/10/10 07:50, Daniel J Griffiths (Ghost1227) wrote:
> don't think i'd even do that, but just to nitpick, it'd be better written
> as:
> [[ -f /usr/bin/gtk-config ]] && COPTS="--with-gtk"
> then add $COPTS to your compile line.

I think you should also make sure that gtk then becomes a dependency of the
resulting package to prevent accidental removal of gtk.

You also need to consider that doing this means that users would see
behaviour from what they believe is the same package.  It could be
and possibly complicate support and dealing with bugs.

Personally I think it's a horrible idea to inspect the environment and make
use of stuff that happens to be there.  I don't like it when it's done in
Makefiles and I think it's an even worse idea to do it in PKGBUILDs.  That's
just my opinion though.


Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org           Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/aur-general/attachments/20101005/250dbd84/attachment.bin>

More information about the aur-general mailing list