[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#397917: gsynaptics - lists s390 as supported



On Sat, Nov 11, 2006 at 02:11:24PM +0900, Osamu Aoki wrote:
> > > Option 4)
> > >  * Set "Architecture: any"
> > >  * Have fancy script to fail in s390.
> > >  * Ask ftp-master for removal of package for s390
> > >  * Make entry in quinn-diff not to build on s390

> > This is an acceptable solution.

> I like the latter so I do not interfare with builoding kfreebsd-i386 etc.

Yes, this is why I recommend it.

> Hmmmm I have to do the same for tpconfig since it is also my package.
> But none of these with any packages uses Option 4 so I can not take easy
> example. (Maybe they deserve bug reports.) 

> Do I use this line in buid script?

>     if [ `dpkg-architecture -qDEB_BUILD_ARCH` = "s390" ]; then exit 1; fi

Yes, this would do the job fine.  You could also do:

     if [ `dpkg-architecture -qDEB_BUILD_ARCH` = "s390" ]; then \
	echo "not building X server-related packages for s390"; exit 1; \
     fi

to give feedback at build time.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/



Reply to: