summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2005-06-08 09:06:11 +0000
committerDavid Holm <dholm@gentoo.org>2005-06-08 09:06:11 +0000
commit109ec197083bfb9e73e54dd10db22ee99f32aded (patch)
treef9e6f52311f9c7e4c14f8844192deb537d8cec03 /www-servers/nginx
parentadded fakelog (diff)
downloadgentoo-2-109ec197083bfb9e73e54dd10db22ee99f32aded.tar.gz
gentoo-2-109ec197083bfb9e73e54dd10db22ee99f32aded.tar.bz2
gentoo-2-109ec197083bfb9e73e54dd10db22ee99f32aded.zip
Added to ~ppc
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'www-servers/nginx')
-rw-r--r--www-servers/nginx/ChangeLog6
-rw-r--r--www-servers/nginx/files/nginx-0.1.35-ppc.patch11
-rw-r--r--www-servers/nginx/nginx-0.1.35.ebuild10
3 files changed, 24 insertions, 3 deletions
diff --git a/www-servers/nginx/ChangeLog b/www-servers/nginx/ChangeLog
index 5623528a8f90..caa6cc0a6cb8 100644
--- a/www-servers/nginx/ChangeLog
+++ b/www-servers/nginx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-servers/nginx
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.29 2005/06/07 16:14:57 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/ChangeLog,v 1.30 2005/06/08 09:06:11 dholm Exp $
+
+ 08 Jun 2005; David Holm <dholm@gentoo.org> +files/nginx-0.1.35-ppc.patch,
+ nginx-0.1.35.ebuild:
+ Added to ~ppc.
*nginx-0.1.35 (07 Jun 2005)
diff --git a/www-servers/nginx/files/nginx-0.1.35-ppc.patch b/www-servers/nginx/files/nginx-0.1.35-ppc.patch
new file mode 100644
index 000000000000..eab3484651e0
--- /dev/null
+++ b/www-servers/nginx/files/nginx-0.1.35-ppc.patch
@@ -0,0 +1,11 @@
+--- src/os/unix/ngx_atomic.h.orig 2005-06-08 10:53:53.689848016 +0200
++++ src/os/unix/ngx_atomic.h 2005-06-08 10:53:58.662092120 +0200
+@@ -285,7 +285,7 @@
+ }
+
+
+-#elif ( __ppc__ )
++#elif ( __powerpc__ )
+
+ #define NGX_HAVE_ATOMIC_OPS 1
+
diff --git a/www-servers/nginx/nginx-0.1.35.ebuild b/www-servers/nginx/nginx-0.1.35.ebuild
index 4bdf38e6c2f4..9ae98f4d7b49 100644
--- a/www-servers/nginx/nginx-0.1.35.ebuild
+++ b/www-servers/nginx/nginx-0.1.35.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.1.35.ebuild,v 1.1 2005/06/07 16:14:57 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/nginx-0.1.35.ebuild,v 1.2 2005/06/08 09:06:11 dholm Exp $
inherit eutils
@@ -10,7 +10,7 @@ HOMEPAGE="http://sysoev.ru/nginx/"
SRC_URI="http://sysoev.ru/nginx/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug fastcgi pcre threads ssl zlib"
DEPEND="dev-lang/perl
@@ -18,6 +18,12 @@ DEPEND="dev-lang/perl
ssl? ( dev-libs/openssl )
zlib? ( sys-libs/zlib )"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ use ppc && epatch ${FILESDIR}/${P}-ppc.patch
+}
+
src_compile() {
local myconf