pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56440: pkgsrc/misc/libreoffice build failure on NetBSD/i386 with OBJMACHINE
The following reply was made to PR pkg/56440; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/56440: pkgsrc/misc/libreoffice build failure on NetBSD/i386
with OBJMACHINE
Date: Fri, 8 Oct 2021 04:45:50 +0000
On Tue, Oct 05, 2021 at 02:50:00PM +0000, Izumi Tsutsui wrote:
> The following kludge works around here.
>
> ---
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/misc/libreoffice/Makefile,v
> retrieving revision 1.269
> diff -u -p -r1.269 Makefile
> --- Makefile 22 Aug 2021 02:41:50 -0000 1.269
> +++ Makefile 5 Oct 2021 14:35:29 -0000
> @@ -262,6 +262,13 @@ MAKE_ENV+= SHELL=${BASH}
> BUILD_MAKE_FLAGS+= VERBOSE=true
> #BUILD_MAKE_FLAGS+= GMAKE_OPTIONS+=-p
>
> +.if ${MACHINE_ARCH} == "i386"
> +# XXX: avoid unexpected substitution in the include path
> +# (work.i386 -> work.1) when ${OBJMACHINE} is set
> +# <command-line>:0:23: fatal error: /usr/obj.1/pkgsrc/misc/libreoffice/work.1/libreoffice-7.2.0.4/config_host/config_skia.h: No such file or directory
> +CFLAGS+= -Ui386
> +.endif
> +
> .if ${OPSYS} != "Linux"
> BUILDLINK_TRANSFORM+= rm:-ldl
> .endif
Wow, what a mess :-|
please go ahead and commit that...
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index