Re: building a package two times

2008-05-05 Thread Adeodato Simó
* Marco d'Itri [Sun, 04 May 2008 00:46:32 +0200]: > On May 03, Goswin von Brederlow <[EMAIL PROTECTED]> wrote: > > FLAVORS := std > > ifeq ((findstring $(DEB_HOST_ARCH),amd64 ia64 ppc64 s390x),) > > FLAVORS += lfs > > endif > > Like this? > AFAICT this will match also if DEB_HOST_ARCH=s390. i

Re: building a package two times

2008-05-04 Thread Goswin von Brederlow
[EMAIL PROTECTED] (Marco d'Itri) writes: > On May 03, Goswin von Brederlow <[EMAIL PROTECTED]> wrote: > >> FLAVORS := std >> ifeq ((findstring $(DEB_HOST_ARCH),amd64 ia64 ppc64 s390x),) >> FLAVORS += lfs >> endif >> >> Like this? > AFAICT this will match also if DEB_HOST_ARCH=s390. > > Anyway, I

Re: building a package two times

2008-05-03 Thread Marco d'Itri
On May 03, Goswin von Brederlow <[EMAIL PROTECTED]> wrote: > FLAVORS := std > ifeq ((findstring $(DEB_HOST_ARCH),amd64 ia64 ppc64 s390x),) > FLAVORS += lfs > endif > > Like this? AFAICT this will match also if DEB_HOST_ARCH=s390. Anyway, I hoped for way more substancial critique. Either you all

Re: building a package two times

2008-05-03 Thread Goswin von Brederlow
Cyril Brulebois <[EMAIL PROTECTED]> writes: > On 03/05/2008, Marco d'Itri wrote: >> DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) >> ifeq ($(DEB_HOST_ARCH),amd64) >> FLAVORS := std >> else ifeq ($(DEB_HOST_ARCH),ia64) >> FLAVORS := std >> else ifeq ($(DEB_HOST_ARCH),ppc64) >> FL

Re: building a package two times

2008-05-03 Thread Cyril Brulebois
On 03/05/2008, Marco d'Itri wrote: > DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) > ifeq ($(DEB_HOST_ARCH),amd64) > FLAVORS := std > else ifeq ($(DEB_HOST_ARCH),ia64) > FLAVORS := std > else ifeq ($(DEB_HOST_ARCH),ppc64) > FLAVORS := std > else ifeq ($(DEB_HOST_ARCH),s390x) > FL