summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-02 16:42:19 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-02 16:42:19 +0000
commitd119a6784948c06d8a582af1c7d37af2d97e5fcb (patch)
tree82e884e4542dcc11eec26b64da078e90f659635e /app-text/xdvik/xdvik-22.40y-r2.ebuild
parentupdate to fix format string problem in panic() handler (diff)
downloadhistorical-d119a6784948c06d8a582af1c7d37af2d97e5fcb.tar.gz
historical-d119a6784948c06d8a582af1c7d37af2d97e5fcb.tar.bz2
historical-d119a6784948c06d8a582af1c7d37af2d97e5fcb.zip
Fix use invocation
Diffstat (limited to 'app-text/xdvik/xdvik-22.40y-r2.ebuild')
-rw-r--r--app-text/xdvik/xdvik-22.40y-r2.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-text/xdvik/xdvik-22.40y-r2.ebuild b/app-text/xdvik/xdvik-22.40y-r2.ebuild
index ad732130dc1c..ea21bcc1d44c 100644
--- a/app-text/xdvik/xdvik-22.40y-r2.ebuild
+++ b/app-text/xdvik/xdvik-22.40y-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.40y-r2.ebuild,v 1.1 2004/05/05 11:29:01 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.40y-r2.ebuild,v 1.2 2004/06/02 16:36:18 agriffis Exp $
inherit eutils
@@ -29,7 +29,7 @@ DEPEND=">=media-libs/t1lib-1.3
src_unpack () {
unpack ${MY_P}.tar.gz
- if [ -n "`use cjk`" ] ; then
+ if use cjk ; then
epatch ${DISTDIR}/${XDVIK_JP}.patch.gz
sed -i -e "/\/usr\/local/s/^/%/g" \
-e "/kochi-.*-subst/s/%//g" \
@@ -41,7 +41,7 @@ src_compile () {
local myconf
- if [ -n "`use cjk`" ] ; then
+ if use cjk ; then
export CPPFLAGS="${CPPFLAGS} -I/usr/include/freetype2"
myconf="${myconf} --with-vflib=vf2ft"
fi
@@ -67,7 +67,7 @@ src_install () {
|| die "install failed"
dodoc ANNOUNCE BUGS FAQ README.*
- if [ -n "`use cjk`" ]; then
+ if use cjk; then
dodoc CHANGES.xdvik-jp
docinto READMEs
dodoc READMEs/*