Building this port requires the kernel sources to be available under /sys.

Put in a sanity check for this.  ok pvalchev@
This commit is contained in:
naddy 2003-05-13 03:30:39 +00:00
parent b20523e6bc
commit 7dc019e695

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.48 2003/04/01 18:50:16 jsyn Exp $
# $OpenBSD: Makefile,v 1.49 2003/05/13 03:30:39 naddy Exp $
COMMENT= "list information about open files"
@ -40,6 +40,15 @@ post-extract:
fi ; \
tar -xf ${SRCBALL_NAME}.tar)
pre-configure:
@if [ ! -d /sys ]; then \
echo ""; \
echo "*** Error: Building this package requires the" ; \
echo "*** kernel sources to be available under /sys" ; \
echo ""; \
exit 1; \
fi
NO_REGRESS= Yes
do-install: