# ChangeLog for x11-plugins/wmhdplop
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmhdplop/ChangeLog,v 1.7 2005/11/08 08:55:51 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmhdplop/ChangeLog,v 1.8 2005/11/10 10:08:33 s4t4n Exp $
+
+ 10 Nov 2005; Michele Noberasco <s4t4n@gentoo.org> wmhdplop-0.9.7.ebuild:
+ Make use of built_with_use() (from eutils eclass) to fail if imlib2
+ is not compiled with 'X' USE flag enabled.
08 Nov 2005; Michele Noberasco <s4t4n@gentoo.org> wmhdplop-0.9.7.ebuild:
Warn the user if 'X' USE flag is not set, as this package needs imlib2
-MD5 53f08a69f1aa6696d1717e1b250a5f13 wmhdplop-0.9.7.ebuild 1328
-MD5 5231cdc49dc28427d9814a72ae1fb05d ChangeLog 1120
+MD5 d299a1e7e66dda11ba9de3a6b183ca40 wmhdplop-0.9.7.ebuild 1345
+MD5 30b525e83915e738c53133e56ded8e10 ChangeLog 1311
MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165
MD5 0a55dceead9ad7a2f7205718807cc4df files/digest-wmhdplop-0.9.7 66
MD5 2745de508ae424a95df9b4ec8cbd8a1a files/wmhdplop-cflags.patch 313
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmhdplop/wmhdplop-0.9.7.ebuild,v 1.3 2005/11/08 08:55:51 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmhdplop/wmhdplop-0.9.7.ebuild,v 1.4 2005/11/10 10:08:33 s4t4n Exp $
inherit eutils
# Honour Gentoo CFLAGS, but retain some the package author chose himself
epatch ${FILESDIR}/${PN}-cflags.patch
- if ! use X; then
+ if ! built_with_use imlib2 X; then
echo
- ewarn "This package depends on media-libs/imlib2, which needs"
- ewarn "to be compiled with 'X' USE flag enabled..."
+ eerror "This package depends on media-libs/imlib2, which needs"
+ eerror "to be compiled with 'X' USE flag enabled..."
echo
- epause
+ die
fi
}