On Jan 16 16:16:37, [email protected] wrote:
> Index: infrastructure/mk/bsd.port.mk
> ===================================================================
> RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
> diff -u -p -r1.1646 bsd.port.mk
> --- infrastructure/mk/bsd.port.mk     24 Oct 2025 14:25:34 -0000      1.1646
> +++ infrastructure/mk/bsd.port.mk     16 Jan 2026 16:10:09 -0000
> @@ -133,11 +133,7 @@ FIX_EXTRACT_PERMISSIONS ?= No
>  FIX_CLEANUP_PERMISSIONS ?= No
>  
>  .if !exists(${X11BASE}/man/mandoc.db)
> -.  if exists(${X11BASE}/man/whatis.db)
> -ERRORS += "Your X11/system is not current"
> -.  else
>  ERRORS += "Fatal: building ports requires correctly installed X11"
> -.  endif
>  .endif

That leaves ${X11BASE}/man/mandoc.db as a test of X11 being installed.
Wouldn't it make more sense to test for e.g. ${X11BASE}/lib/libX11.a ?

Reply via email to