Replace X11 up-to-dateness test with something that will work with
recent XFree.
This commit is contained in:
parent
e7657300f7
commit
779586af01
@ -1,6 +1,6 @@
|
||||
#-*- mode: Fundamental; tab-width: 4; -*-
|
||||
# ex:ts=4 sw=4 filetype=make:
|
||||
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.420 2001/07/11 12:57:20 espie Exp $$
|
||||
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.421 2001/07/16 15:14:36 espie Exp $$
|
||||
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
|
||||
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
|
||||
#
|
||||
@ -1595,14 +1595,16 @@ ${_CONFIGURE_COOKIE}: ${_PATCH_COOKIE}
|
||||
${CONFIGURE_ENV} ${_CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
|
||||
. endif
|
||||
. if ${CONFIGURE_STYLE:L:Mimake}
|
||||
. if exists(${X11BASE}/lib/X11/config/ports.cf)
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}
|
||||
. else
|
||||
@echo >&2 "Error: your X installation is not recent enough"
|
||||
@echo >&2 "Update to a more recent version, or use a ports tree"
|
||||
@echo >&2 "that predates March 18, 2000"
|
||||
@exit 1
|
||||
. endif
|
||||
@if [ -e ${X11BASE}/lib/X11/config/ports.cf ] || \
|
||||
fgrep >/dev/null 2>/dev/null Ports \
|
||||
${X11BASE}/lib/X11/config/OpenBSD.cf; then \
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}; \
|
||||
else \
|
||||
echo >&2 "Error: your X installation is not recent enough"; \
|
||||
echo >&2 "Update to a more recent version, or use a ports tree"; \
|
||||
echo >&2 "that predates March 18, 2000"; \
|
||||
exit 1; \
|
||||
fi
|
||||
. endif
|
||||
# End of CONFIGURE.
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user