From 9ce115c5fb07bc7605c3a45b6124953b30081113 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 25 Apr 2014 15:28:52 +0000 Subject: [PATCH] nope, the chosen file is intentionally the last file built during a normal xenocara build, to prevent screw up. Whine loudly for whatis.db, as things are normally built with current. --- infrastructure/mk/bsd.port.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/infrastructure/mk/bsd.port.mk b/infrastructure/mk/bsd.port.mk index 8c9f17e6bff..16f25efc918 100644 --- a/infrastructure/mk/bsd.port.mk +++ b/infrastructure/mk/bsd.port.mk @@ -1,6 +1,6 @@ #-*- mode: Makefile; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -# $OpenBSD: bsd.port.mk,v 1.1264 2014/04/25 15:13:51 sthen Exp $ +# $OpenBSD: bsd.port.mk,v 1.1265 2014/04/25 15:28:52 espie Exp $ # # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. @@ -166,8 +166,12 @@ PACKAGE_REPOSITORY ?= ${PORTSDIR}/packages PORTS_BUILD_XENOCARA_TOO ?= No .if ${PORTS_BUILD_XENOCARA_TOO:L} == "no" -. if !exists(${X11BASE}/include/X11/X.h) +. 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 .endif