summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandy Westcott <brandy@gentoo.org>2003-10-29 09:59:30 +0000
committerBrandy Westcott <brandy@gentoo.org>2003-10-29 09:59:30 +0000
commitb6cf91d33486d33e0a3fb6d60baecbd60446067a (patch)
tree348c65c6b61a758356742934d9a24e8aa8c4b296 /net-www/links/links-2.1_pre9.ebuild
parentfix DESCRIPTION (diff)
downloadgentoo-2-b6cf91d33486d33e0a3fb6d60baecbd60446067a.tar.gz
gentoo-2-b6cf91d33486d33e0a3fb6d60baecbd60446067a.tar.bz2
gentoo-2-b6cf91d33486d33e0a3fb6d60baecbd60446067a.zip
Added gpm as a dependency of fbcon. Yep, it really does need to be there.
Diffstat (limited to 'net-www/links/links-2.1_pre9.ebuild')
-rw-r--r--net-www/links/links-2.1_pre9.ebuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/net-www/links/links-2.1_pre9.ebuild b/net-www/links/links-2.1_pre9.ebuild
index b8ab18a776af..f48501dabee8 100644
--- a/net-www/links/links-2.1_pre9.ebuild
+++ b/net-www/links/links-2.1_pre9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-2.1_pre9.ebuild,v 1.7 2003/09/22 02:20:13 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/links/links-2.1_pre9.ebuild,v 1.8 2003/10/29 09:59:18 brandy Exp $
IUSE="ssl java png X gpm tiff fbcon svga jpeg"
@@ -28,10 +28,21 @@ DEPEND="ssl? ( >=dev-libs/openssl-0.9.6c )
tiff? ( >=media-libs/tiff-3.5.7 )
svga? ( >=media-libs/svgalib-1.4.3 >=media-libs/libpng-1.2.1 )
X? ( virtual/x11 >=media-libs/libpng-1.2.1 )
- fbcon? ( >=media-libs/libpng-1.2.1 )"
+ fbcon? ( >=media-libs/libpng-1.2.1 sys-libs/gpm )"
PROVIDE="virtual/textbrowser"
+pkg_setup (){
+
+ if [ ! `use gpm` ] && [ `use fbcon` ] ; then
+ einfo
+ einfo "gpm has been installed since you have included fbcon in your USE flags."
+ einfo "The links framebuffer driver requires gpm in order to compile."
+ einfo
+ fi
+
+}
+
src_compile (){
local myconf