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 33AF8DC0B5F for ; Tue, 2 Feb 2016 10:50:38 +0000 (UTC) Received: from mail-qg0-f65.google.com (mail-qg0-f65.google.com [209.85.192.65]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id EDFB7DC0017 for ; Tue, 2 Feb 2016 10:50:37 +0000 (UTC) Received: by mail-qg0-f65.google.com with SMTP id b35so11526931qge.2 for ; Tue, 02 Feb 2016 02:50:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=OHrDm/UjgwiHM+kSaCL+KtEZLN1uNzNrq7MarcwM6FE=; b=bf5nNpjlhfJZUDxvxMpNybNFFdJ4Iij9V8v3DaHtJGRd9f0nkJXcT0OMsspaVYredg FQmy0wdjSrgcP8q0bIUZycJNvTiHxBRsN2jV0F53U5fAz4sxtVM4C8V58IjRxgpysfSj ocuW6Xj9wZWK2695SOrQJAwpNmPM6CEquSIC4lAGbW0uGt5k/GkjPYUxanURfdquKRWW mduJTAflsM0ZfWAP8U3l6l8HKa9LCBrGJrPSQFkw45Srpahy/JBpzBjn/U+4stpeijc0 iUtOaAfitdghJI93ohCZfH+HHvhKre4QoPGJ1gx/ek6eZMuux+Jtoi/JHz8cit9I1RI1 uilQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=OHrDm/UjgwiHM+kSaCL+KtEZLN1uNzNrq7MarcwM6FE=; b=mEFHuoNxw5tRJKEK+umMKM2z5qgPnpAheXyavXSjjKKiGjRgYyEsRvLpWHok/4/2Uq S1q3EDgRdL9ALvQjCk6HxZ/8e3cFZ70zjqK+buaHIoVm9qSmDlbKQKlrO501S+yU5E/G wtYueP88vHR82fvGcWaAETcEfgHMTYu1NStRwE6xR9hANTPFqhoWpeR0GDFZ+3zVn6Lg dVRbaHhMdUdcmKLnYfvjzAmIsvSMah9wriPzzViwcxicikJTF03Obk4s8gBEEQotWKLn WrhsOtUhABnDmw5yVKj1pp26d0pI2B6V63HLaP5zP1RQ4r3fFOJWYNfwqLZYOtZEBQkD NEXg== X-Gm-Message-State: AG10YOQG7jLRb2O27mZ20zVyQl0bX60ZCvioHofUlrAmtPKAPd1LaZb0C3AUudTe0lSf9Q== X-Received: by 10.140.247.68 with SMTP id s65mr34003348qhc.72.1454410236984; Tue, 02 Feb 2016 02:50:36 -0800 (PST) Received: from hoshizora.local ([137.165.162.5]) by smtp.gmail.com with ESMTPSA id x76sm258326qhb.19.2016.02.02.02.50.36 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Feb 2016 02:50:36 -0800 (PST) Subject: Re: [alpine-aports] [PATCH 2/3] newapkbuild: remove default prepare() To: alpine-aports@lists.alpinelinux.org References: <1454365949-60951-1-git-send-email-muh.muhten@gmail.com> <1454365949-60951-2-git-send-email-muh.muhten@gmail.com> <20160202065025.fc1318a9f038027d2aa32d63@mauras.ch> From: Muh Muhten Message-ID: <56B089FB.9070305@gmail.com> Date: Tue, 2 Feb 2016 05:50:35 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: <20160202065025.fc1318a9f038027d2aa32d63@mauras.ch> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Nothing special. An added prepare() will function correctly and be run instead of default prepare. To clear up some confusion: this patch is intended to apply in the context of %1521; default_prepare is *not* implemented yet, I just sent in the two patches together. Only APKBUILDs with no prepare() definition should be affected; there is no change to the logic when abuild calls prepare, only the default function definition changes from silent no-op to the patching behavior newapkbuild generates. Michael On 2016-02-02 12:50 AM, Olivier Mauras wrote: > Hello, > > How does that behave if one adds prepare() back in the APKBUILD? prepare() can be used for other things than just patches. > > Regards, > Olivier > --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---