pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/53743: pkgsrc-2018Q3 lang/vala dumps core on NetBSD/earmv6hf 8.0
I think this should go into hacks.mk. As far as I remember, the
Makefile needs an explicit
.include "hacks.mk"
On Sat, Dec 8, 2018 at 3:50 AM Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> wrote:
>
> The following reply was made to PR pkg/53743; it has been noted by GNATS.
>
> From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: tsutsui%ceres.dti.ne.jp@localhost
> Subject: Re: pkg/53743: pkgsrc-2018Q3 lang/vala dumps core on NetBSD/earmv6hf
> 8.0
> Date: Sat, 8 Dec 2018 11:49:33 +0900
>
> Disabling -O2 optimization by CFLAGS seems to work around
> (though BUILDLINK_TRANSFORM in hacks.mk doesn't work):
>
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/lang/vala/Makefile,v
> retrieving revision 1.46
> diff -u -p -r1.46 Makefile
> --- Makefile 3 Sep 2018 10:46:45 -0000 1.46
> +++ Makefile 8 Dec 2018 02:34:56 -0000
> @@ -17,6 +17,12 @@ USE_TOOLS+= bison flex gmake pkg-config
> PKGCONFIG_OVERRIDE+= libvala.pc.in
> PKGCONFIG_OVERRIDE+= vapigen/vapigen.pc.in
>
> +.include "../../mk/compiler.mk"
> +
> +.if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) && !empty(CC_VERSION:Mgcc-5.*)
> +CFLAGS+= -O
> +.endif
> +
> BUILDLINK_API_DEPENDS.glib2+= glib2>=2.40.0
>
> .include "../../devel/glib2/buildlink3.mk"
>
>
> ---
> Izumi Tsutsui
>
--
Benny
Home |
Main Index |
Thread Index |
Old Index