pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56299 (Native X11_TYPE on NetBSD even if /usr/X11R7 does not exist)
The following reply was made to PR pkg/56299; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/56299 (Native X11_TYPE on NetBSD even if /usr/X11R7 does not
exist)
Date: Sat, 17 Jul 2021 08:17:51 +0000
On Thu, Jul 08, 2021 at 09:10:01PM +0000, Frederic Fauberteau wrote:
> Would it make sense a patch as the following? The objective is to avoid ge$
>
> --- mk/platform/NetBSD.mk 25 Apr 2021 07:51:25 -0000 1.65
> +++ mk/platform/NetBSD.mk 8 Jul 2021 20:50:14 -0000
> @@ -45,6 +45,9 @@
> # to modular.
> .if empty(MACHINE_PLATFORM:MNetBSD-[0-5].*)
> X11_TYPE?= native
> +. if !empty(X11_TYPE:Mnative) && !exists(/etc/mtree/set.xbase)
> +PKG_FAIL_REASON+= "Native X11 distribution cannot be used if xbase set has not been installed. You should set X11_TYPE=modular or install xbase set."
> +. endif
> .endif
>
> _OPSYS_EMULDIR.aout= /emul/aout
Seems like a reasonable approach to me, but I see the discussion on
tech-pkg has moved onwards...
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index