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.
This commit is contained in:
espie 2014-04-25 15:28:52 +00:00
parent 4030dde3b5
commit 9ce115c5fb

View File

@ -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