X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 7A7A03617A1E for ; Mon, 6 Sep 2010 14:25:42 +0000 (UTC) Received: from [10.65.65.1] (unknown [10.65.65.1]) by mail.wtbts.no (Postfix) with ESMTP id 220487E005 for ; Mon, 6 Sep 2010 16:19:04 +0200 (CEST) Subject: [alpine-devel] how to skip packages in aports tree and support for eglibc From: Natanael Copa To: Alpine Development Content-Type: text/plain; charset="UTF-8" Date: Mon, 06 Sep 2010 16:25:40 +0200 Message-ID: <1283783140.26584.360.camel@ncopa-desktop.nor.wtbts.net> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Hi, Carlo have been working on building an eglibc based alpine and afaik he has the bootstrapping of the toolchain more or less working. Now, the question is, how do we handle the build trees? I think that best would be that we have same tree for all libcs and archs. Then we could have conditional dependencies, something like: # dont use libiconv if eglibc if ! [ "$ALPINE_LIBC" = "eglibc" ]; then makedepends="$makedepends libiconv-dev" fi Similar we could have conditionals for different arch specifics. Now, there might be some packages that does not make sense build at all. For example, we dont want build eglibc on a uclibc system at all since it doesnt make sense to build it. The question is how, do we disable it? Same goes for different arch specific packages. I think for archs we could in the APKBUILD do something like: arch="x86 x86_64 mips" But how do we do with uclibc/eglibc? do we have a separarate libc variable? libc="uclibc eglibc" Alternatively we could keep them in separate branches and do git tricks to merge the common commits, but I'd prefer have them joined if possible. Other ideas? -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---