* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in x11-wm/fluxbox: ChangeLog fluxbox-1.0.0.ebuild
[not found] <E1IfGKv-0006jN-Mo@stork.gentoo.org>
@ 2007-10-09 19:36 ` Donnie Berkholz
0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2007-10-09 19:36 UTC (permalink / raw
To: gentoo-dev, lack
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
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-09 19:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1IfGKv-0006jN-Mo@stork.gentoo.org>
2007-10-09 19:36 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in x11-wm/fluxbox: ChangeLog fluxbox-1.0.0.ebuild Donnie Berkholz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox