Re: Bug#229357: Can we require build-arch/indep targets for lenny?
On Tue, Jul 03, 2007 at 09:54:03AM +0200, Adam Borowski wrote:
> On Mon, Jul 02, 2007 at 09:26:23PM -0700, Steve Langasek wrote:
> > I believe the attached patch has the following characteristics:
> > - Behavior on systems where 'make' is not GNU make is undefined.
> > Specifically, on such a system dpkg is likely to either conclude that
> > /all/ packages support 'build-arch', or that /none/ of them support
> > 'build-arch', depending on whether and how 'make -qn' fails.
> Too bad, both Solaris and BSD make fail the bad way, returning 1 on a bad
> target -- and neither has -v or --version. I haven't checked the rest, but
> it's likely they behave the same way.
> So, an idea: what about checking "make -f /dev/null blah 2>/dev/null" first,
> for some portability?
What 'blah' are you planning to use that's guaranteed to not have broken
side-effects in some cases on Debian packages?
--
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: