[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: fixing up cflags - devel/dconf
On Mon, Nov 19, 2012 at 8:13 PM, Greg Troxel <gdt%ir.bbn.com@localhost> wrote:
> I've been rebuilding packages using pkg_rr based on 2012Q3 for a while,
> as a background activity. On one system (netbsd-5, i386) dconf failed
> to build. It turned out the issue was that the upstream makefiles set
> gcc-specific warning flags that apparently aren't valid in gcc as found
> on netbsd-5. This is of course broken upstream, as there's no reason to
> even assume gcc, but the question is how best to handle in pkgsrc.
> Forcing gcc to 4.5 seems goofy. I attach a patch (against
> pkgsrc-2012Q3, because HEAD is changed a lot) which makes it build, and
> it seems to run fine. It seems the right approach is some way to strip
> flags in the wrapper scripts. I dimly recall that there is such a
> facilitiy, but I searched in the guide and didn't find it.
Off th top of my head and unchecked by any testing... but something like this:
in the pkgsrc Makefile might do the trick.
Main Index |
Thread Index |