summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-09 22:36:45 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-09 22:36:45 +0000
commit8a8473b3cda8f95cb7fd6cbb00c99aa409a3ac8e (patch)
tree05e981aaf435115b201c06cda7f711f93abe3773 /net-misc/gnugk
parentRediffed botched devmapper patch. (diff)
downloadhistorical-8a8473b3cda8f95cb7fd6cbb00c99aa409a3ac8e.tar.gz
historical-8a8473b3cda8f95cb7fd6cbb00c99aa409a3ac8e.tar.bz2
historical-8a8473b3cda8f95cb7fd6cbb00c99aa409a3ac8e.zip
Fix use invocation
Diffstat (limited to 'net-misc/gnugk')
-rw-r--r--net-misc/gnugk/ChangeLog7
-rw-r--r--net-misc/gnugk/gnugk-2.0.6.ebuild9
2 files changed, 9 insertions, 7 deletions
diff --git a/net-misc/gnugk/ChangeLog b/net-misc/gnugk/ChangeLog
index 8c7bf2be0e90..43500bdfb680 100644
--- a/net-misc/gnugk/ChangeLog
+++ b/net-misc/gnugk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/gnugk
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gnugk/ChangeLog,v 1.1 2003/10/26 19:45:46 stkn Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnugk/ChangeLog,v 1.2 2004/06/09 22:34:58 agriffis Exp $
+
+ 09 Jun 2004; Aron Griffis <agriffis@gentoo.org> gnugk-2.0.6.ebuild:
+ Fix use invocation
*gnugk-2.0.6 (26 Oct 2003)
diff --git a/net-misc/gnugk/gnugk-2.0.6.ebuild b/net-misc/gnugk/gnugk-2.0.6.ebuild
index e2d7462cf76d..9b714d448387 100644
--- a/net-misc/gnugk/gnugk-2.0.6.ebuild
+++ b/net-misc/gnugk/gnugk-2.0.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gnugk/gnugk-2.0.6.ebuild,v 1.1 2003/10/26 19:45:46 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnugk/gnugk-2.0.6.ebuild,v 1.2 2004/06/09 22:34:58 agriffis Exp $
inherit eutils
@@ -25,8 +25,7 @@ DEPEND=">=net-libs/openh323-1.12.2-r1
pkg_setup() {
# check if under_short does exist
- if [ -n "`use mysql`" -a ! -f /usr/include/mysql++/undef_short ]
- then
+ if use mysql && [ ! -f /usr/include/mysql++/undef_short ]; then
ewarn "mysql USE flag is set, but mysql++ is missing an"
ewarn "include file (\"/usr/include/mysql++/undef_short\")"
ewarn "if emerge fails, please try again with"
@@ -80,7 +79,7 @@ src_install() {
doins etc/*
# install ldap schema file
- if [ -n "`use ldap`" ] && [ -d /etc/openldap/schema ]; then
+ if use ldap && [ -d /etc/openldap/schema ]; then
insinto /etc/openldap/schema
doins etc/voip.schema
rm -f ${D}/etc/gnugk/voip.schema