X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 7B579DC1CF8 for ; Tue, 10 Nov 2015 07:51:31 +0000 (UTC) Received: from newmail.tetrasec.net (unknown [74.117.189.116]) by mail.alpinelinux.org (Postfix) with ESMTP id 5EB20DC1085 for ; Tue, 10 Nov 2015 07:51:31 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id B3F0B5A131A; Tue, 10 Nov 2015 07:40:55 +0000 (GMT) Date: Tue, 10 Nov 2015 08:51:25 +0100 From: Natanael Copa To: Valery Kartel Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] main/php-phalcon: upgrade to stable 2.0.8 Message-ID: <20151110085125.5c2b4e30@ncopa-desktop.alpinelinux.org> In-Reply-To: <1446899519-2010-1-git-send-email-valery.kartel@gmail.com> References: <1446899519-2010-1-git-send-email-valery.kartel@gmail.com> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Sat, 7 Nov 2015 14:31:59 +0200 Valery Kartel wrote: > --- > main/php-phalcon/10.cphalcon.patch | 13 ------- > main/php-phalcon/APKBUILD | 69 +++++++++++++++++--------------------- > main/php-phalcon/phalcon.ini | 3 -- > 3 files changed, 31 insertions(+), 54 deletions(-) > delete mode 100644 main/php-phalcon/10.cphalcon.patch > delete mode 100644 main/php-phalcon/phalcon.ini ... > -_builddir="$srcdir/cphalcon-phalcon-v$pkgver" > prepare() { > - cd "$_builddir" > - for i in $source; do > - case $i in > - *.patch) > - msg "Applying $i" > - patch -p1 -i "$srcdir"/$i || return 1 > - ;; > - esac > - done > + cd "$_builddir" > + case $(uname -m) in > + i[3-6]86) ln -s 32bits arch ;; > + x86_64) ln -s 64bits arch ;; > + *) return 1 ;; > + esac > } I am curious why this is needed? The configure script is not able to figure out the arch itself? What about arm? -nc --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---