On 14:45 Tue 09 Oct , Jim Ramsay (lack) wrote:
> 1.1 x11-wm/fluxbox/fluxbox-1.0.0.ebuild
>
> file :
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0.ebuild?rev=1.1&view=markup
> plain:
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fluxbox/fluxbox-1.0.0.ebuild?rev=1.1&content-type=text/plain
> pkg_setup() {
> if use imlib ; then
> if ! built_with_use media-libs/imlib2 X ; then
> eerror "To build fluxbox with imlib in USE, you need an
> X enabled"
> eerror "media-libs/imlib2 . Either recompile imlib2
> with the X"
> eerror "USE flag turned on or disable the imlib USE
> flag for fluxbox."
> die "USE=imlib requires imlib2 with USE=X"
> fi
> fi
> }
There's only one case you're interested in here, so you could just
combine the two things into a single statement:
if use imlib && ! built_with_use media-libs/imlib2 X; then
> src_compile() {
> export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig:/usr/lib/pkgconfig
This shouldn't be necessary anymore.
> src_install() {
> dodir /usr/share/fluxbox
> make DESTDIR="${D}" install || die "make install failed"
If emake doesn't work, please add a comment to that effect.
Thanks,
Donnie
--
[EMAIL PROTECTED] mailing list