On Fri, Feb 14, 2014 at 12:55 PM, Dariusz Dwornikowski
<dariusz.dwornikow...@cs.put.poznan.pl> wrote:
> 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.

I don't think this works for -say- kfreebsd-amd64, which would require
-DI2CBUILD=OFF
You need to handle each option independantly, depending on arch

2cts


-- 
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/ca+7wusxvmc3vlsksnyu9svopz8dw-aps+rmqpfs5egod7uq...@mail.gmail.com

Reply via email to