Ok I created such code in rules: override_dh_auto_configure:
ifeq ($(DEB_HOST_ARCH), $(filter $(DEB_HOST_ARCH),amd64 i386)) dh_auto_configure -- -DCLASSICBUILD=YES -DI2CBUILD=YES else dh_auto_configure -- -DI2CBUILD=NO -DCLASSICBUILD=YES endif Can somebody review it for me ? I checked and it works on amd64 and i386. On 14 February 2014 11:56, Dariusz Dwornikowski < dariusz.dwornikow...@cs.put.poznan.pl> wrote: > Ok, > > So is it a good practice then to check the arch in rules and change -D... > accordingly ? > > > On 14 February 2014 11:34, Sven Joachim <svenj...@gmx.de> wrote: > >> On 2014-02-14 09:38 +0100, Dariusz Dwornikowski wrote: >> >> > Package: sponsorship-requests >> > Severity: normal >> > >> > Dear mentors, >> > >> > I am looking for a sponsor for my package "read-edid" >> >> Have you tried to contact the DD who sponsored the 3.0.1-1 upload yet? >> >> > Changes since the last upload: >> > >> > * Architecture set to i386 and amd64 >> >> I find that rather unfortunate. IIUC read-edid supports a VBE interface >> and an I2C interface, the former apparently being tied to x86 and the >> latter to Linux. So it should be possible to build read-edid with >> -DCLASSICBUILD=OFF on non-x86 and with -DI2CBUILD=OFF on non-Linux >> architectures. >> >> Cheers, >> Sven >> >> >> -- >> To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org >> with a subject of "unsubscribe". Trouble? Contact >> listmas...@lists.debian.org >> Archive: http://lists.debian.org/87r476yoce....@turtle.gmx.de >> >> > > > -- > Pozdrawiam, > Dariusz Dwornikowski, Assistant > Institute of Computing Science, Poznań University of Technology > www.cs.put.poznan.pl/ddwornikowski/ > room 2.7.2 BTiCW | tel. +48 61 665 29 41 > > -- Pozdrawiam, Dariusz Dwornikowski, Assistant Institute of Computing Science, Poznań University of Technology www.cs.put.poznan.pl/ddwornikowski/ room 2.7.2 BTiCW | tel. +48 61 665 29 41