diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-06-28 03:40:38 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-06-28 03:40:38 +0000 |
commit | f0fd8a6beb2bea011c655dccdba36cd1ec95f317 (patch) | |
tree | 5f367064b04a0b9e0113b31cb9feb81bdebd25ba /net-www/mini_httpd | |
parent | change glibc to libc and clean up other horribly ugly ebuilds (Manifest recom... (diff) | |
download | gentoo-2-f0fd8a6beb2bea011c655dccdba36cd1ec95f317.tar.gz gentoo-2-f0fd8a6beb2bea011c655dccdba36cd1ec95f317.tar.bz2 gentoo-2-f0fd8a6beb2bea011c655dccdba36cd1ec95f317.zip |
QA - fix use invocation
Diffstat (limited to 'net-www/mini_httpd')
-rw-r--r-- | net-www/mini_httpd/ChangeLog | 6 | ||||
-rw-r--r-- | net-www/mini_httpd/mini_httpd-1.17_beta1.ebuild | 6 | ||||
-rw-r--r-- | net-www/mini_httpd/mini_httpd-1.19.ebuild | 6 |
3 files changed, 11 insertions, 7 deletions
diff --git a/net-www/mini_httpd/ChangeLog b/net-www/mini_httpd/ChangeLog index 4493abf46be7..83e705eae0ee 100644 --- a/net-www/mini_httpd/ChangeLog +++ b/net-www/mini_httpd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-www/mini_httpd # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/ChangeLog,v 1.5 2004/06/25 00:59:04 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/ChangeLog,v 1.6 2004/06/28 03:37:20 agriffis Exp $ + + 27 Jun 2004; Aron Griffis <agriffis@gentoo.org> + mini_httpd-1.17_beta1.ebuild, mini_httpd-1.19.ebuild: + QA - fix use invocation 23 Apr 2004; Stuart Herbert <stuart@gentoo.org> files/mini_httpd.conf.sample-1.19: diff --git a/net-www/mini_httpd/mini_httpd-1.17_beta1.ebuild b/net-www/mini_httpd/mini_httpd-1.17_beta1.ebuild index 8abdf15227e8..703068b7d52e 100644 --- a/net-www/mini_httpd/mini_httpd-1.17_beta1.ebuild +++ b/net-www/mini_httpd/mini_httpd-1.17_beta1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/mini_httpd-1.17_beta1.ebuild,v 1.3 2004/06/25 00:59:04 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/mini_httpd-1.17_beta1.ebuild,v 1.4 2004/06/28 03:37:20 agriffis Exp $ MY_P=${P/_beta/beta} DESCRIPTION="Small forking webserver with optional ssl and ipv6 support" @@ -27,7 +27,7 @@ src_compile() { rm -f Makefile.org ## for ssl-support we need another Makefile-patch: - if [ "$(use ssl)" ]; then + if use ssl; then mv Makefile Makefile.org cat Makefile.org | sed -e "s@^#\(SSL_TREE.*=\)\(.*$\)@\1 /usr@; \ s@^#\(SSL_DEFS.*$\)@\1@; \ @@ -39,7 +39,7 @@ src_compile() { ## ipv6-support: normally this is auto-detected at compile time ... so we ## need to force a bit ;) - if [ ! "$(use ipv6)" ]; then + if ! use ipv6; then mv mini_httpd.c mini_httpd.c.org cat mini_httpd.c.org | sed -e 's@#define USE_IPV6@#undef USE_IPV6@' > \ mini_httpd.c || die "error rewriting mini_httpd.c" diff --git a/net-www/mini_httpd/mini_httpd-1.19.ebuild b/net-www/mini_httpd/mini_httpd-1.19.ebuild index 0a85dd620b9e..a6ce4c1b3c7e 100644 --- a/net-www/mini_httpd/mini_httpd-1.19.ebuild +++ b/net-www/mini_httpd/mini_httpd-1.19.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/mini_httpd-1.19.ebuild,v 1.2 2004/06/25 00:59:04 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/mini_httpd-1.19.ebuild,v 1.3 2004/06/28 03:37:20 agriffis Exp $ DESCRIPTION="Small forking webserver with optional ssl and ipv6 support" HOMEPAGE="http://www.acme.com/software/mini_httpd/" @@ -26,7 +26,7 @@ src_compile() { rm -f Makefile.org ## for ssl-support we need another Makefile-patch: - if [ "$(use ssl)" ]; then + if use ssl; then mv Makefile Makefile.org cat Makefile.org | sed -e "s@^#\(SSL_TREE.*=\)\(.*$\)@\1 /usr@; \ s@^#\(SSL_DEFS.*$\)@\1@; \ @@ -38,7 +38,7 @@ src_compile() { ## ipv6-support: normally this is auto-detected at compile time ... so we ## need to force a bit ;) - if [ ! "$(use ipv6)" ]; then + if ! use ipv6; then sed -i 's@#define USE_IPV6@#undef USE_IPV6@' mini_httpd.c fi emake || die |