X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-fx0-f228.google.com (mail-fx0-f228.google.com [209.85.220.228]) by lists.alpinelinux.org (Postfix) with ESMTP id 6FE13360F717 for ; Sun, 15 Nov 2009 11:39:10 +0000 (UTC) Received: by fxm28 with SMTP id 28so5061083fxm.25 for ; Sun, 15 Nov 2009 03:39:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=ztR03tUk67M0wJNRxqQDPpCayE2LKiCYp9Nl7HOBa14=; b=AY2i0wr2JiguWaan5m9u26FB77nXQPLu/9sxyzOdFPb7zXU8uWeP+pHLB+Qsxk3dfI y6oqedCXQCa7KU3h5GTCiSfqeN9yl0UDj/oahrno8NtymFTHLJXMsNarWb4VIVNoNmYs Jg4UZOv13Y4tC1Mydfqg+6BWyLhm1tQIUK8fY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=J8HZUr0hNi5HuBPJ5NwfNwGfsILi0yc+RoZKusdkJ4BaOyDLujR7eglaYeQ/hAfQC8 HyOdDZOAAFv7xB92WziP+8uwQ9HoXIHT+yEgxjGZMFDI8VGGBeE/mZikqYCNK2eF2K5Q BwkEGAEp2LSBHoC8BfnDJa9GabKIuyD3A0EHQ= X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.239.143.227 with SMTP id l35mr641490hba.164.1258285149098; Sun, 15 Nov 2009 03:39:09 -0800 (PST) From: Francesco Date: Sun, 15 Nov 2009 12:38:49 +0100 Message-ID: Subject: [alpine-devel] info about unpack for building To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset=UTF-8 Hi all. When abuild a package, the function "build" into APKBUILD is executed. I need to make a change into a Makefile: sed -e "s/cat -v/cat/g" -i $srcdir/admin/$pkgname-$pkgver/compile/Makefile when abuild start, i got a error that "Makefile: no such directory". I suppose that the package is not unpacked..but when this happen? Where is the best location to insert this entry? Is better make a patch file? This is an extract of APKBUILD: build() { cd "$srcdir"/admin/$pkgname-$pkgver/ sed -e "s/cat -v/cat/g" -i $srcdir/admin/$pkgname-$pkgver/compile/Makefile ./package/compile || return 1 } PS: the path is correct, and i've tried absolute path too with sed, without variables. Any hints? Thx. :: Francesco Colista :: --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---