diff options
-rw-r--r-- | eclass/jakarta-commons.eclass | 4 | ||||
-rw-r--r-- | eclass/pcmcia.eclass | 6 | ||||
-rw-r--r-- | eclass/php-sapi.eclass | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/eclass/jakarta-commons.eclass b/eclass/jakarta-commons.eclass index 53d6666dadb5..1958dc0d8ef1 100644 --- a/eclass/jakarta-commons.eclass +++ b/eclass/jakarta-commons.eclass @@ -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/eclass/jakarta-commons.eclass,v 1.12 2004/05/17 00:02:47 zx Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/jakarta-commons.eclass,v 1.13 2004/06/23 22:07:11 mr_bones_ Exp $ inherit base java-pkg ECLASS=jakarta-commons @@ -54,7 +54,7 @@ jakarta-commons_src_compile() { ;; maketest) debug-print-section maketest - if [ -n "`use junit`" ]; then + if use junit ; then if [ -n $(echo "$target" | grep "test") ]; then ANT_OPTS=${myconf} ant test || die "Building Testing Classes Failed" else diff --git a/eclass/pcmcia.eclass b/eclass/pcmcia.eclass index 63f2300c27db..e81570cd1f39 100644 --- a/eclass/pcmcia.eclass +++ b/eclass/pcmcia.eclass @@ -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/eclass/pcmcia.eclass,v 1.3 2004/04/11 05:46:09 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/pcmcia.eclass,v 1.4 2004/06/23 22:08:30 mr_bones_ Exp $ # pcmcia.eclass - This eclass facilities writing ebuilds for driver packages # that may need to build against the pcmcia-cs drivers, depending on kernel @@ -54,7 +54,7 @@ pcmcia_src_unpack() { cd ${WORKDIR} - if [ -n "`use pcmcia`" ]; then + if use pcmcia ; then if egrep '^CONFIG_PCMCIA=[ym]' /usr/src/linux/.config >&/dev/null then # Sadly, we still need to download these sources in SRC_URI @@ -96,7 +96,7 @@ pcmcia_src_unpack() # Call this if you need the package configured for building to work pcmcia_configure() { - if [ -n "`use pcmcia`" ]; then + if use pcmcia ; then if ! egrep '^CONFIG_PCMCIA=[ym]' /usr/src/linux/.config >&/dev/null then cd ${PCMCIA_SOURCE_DIR} diff --git a/eclass/php-sapi.eclass b/eclass/php-sapi.eclass index e0c32de4e236..1a79ae260d78 100644 --- a/eclass/php-sapi.eclass +++ b/eclass/php-sapi.eclass @@ -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/eclass/php-sapi.eclass,v 1.34 2004/06/23 05:33:42 stuart Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-sapi.eclass,v 1.35 2004/06/23 22:12:26 mr_bones_ Exp $ # Author: Robin H. Johnson <robbat2@gentoo.org> inherit eutils flag-o-matic @@ -266,7 +266,7 @@ php-sapi_src_unpack() { # bug 47498 [ "${PV//4.3.6}" != "${PV}" ] && EPATCH_OPTS="-d ${S} -p1" epatch ${DISTDIR}/php-4.3.6-pcrealloc.patch - [ `use hardenedphp` ] && [ -n "$HARDENEDPHP_PATCH" ] && epatch ${DISTDIR}/${HARDENEDPHP_PATCH} + use hardenedphp && [ -n "$HARDENEDPHP_PATCH" ] && epatch ${DISTDIR}/${HARDENEDPHP_PATCH} } |