summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1998-12-02 07:01:08 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1998-12-02 07:01:08 +0000
commite079a11417b28387cccd2f8e5d9615587f1a75c8 (patch)
tree03466a6fbe52ad61a71593631355caf7dc4e73bd /sysutils/lsof
parentNeed to do a little bsd.port.pre.mk action to avoid a syntax error. (diff)
Force /usr/src/sys to be available when PACKAGE_BUILDING.
Notes
Notes: svn path=/head/; revision=15056
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index a3549a9b9bcb..f65103bd788d 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -4,7 +4,7 @@
# Date created: Sat July 20, 1996
# Whom: David O'Brien (obrien@FreeBSD.org)
#
-# $Id: Makefile,v 1.26 1998/12/01 09:40:48 obrien Exp $
+# $Id: Makefile,v 1.27 1998/12/01 09:41:59 obrien Exp $
#
DISTNAME= lsof_4.38_W
@@ -25,6 +25,12 @@ CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= -n freebsd
MAN8= lsof.8
+.if defined(PACKAGE_BUILDING)
+.if !exists(/usr/src/sys/miscfs/fdesc/fdesc.h)
+BROKEN= 'please install kernel source for offical package builds'
+.endif
+.endif
+
SRCBALL_NAME= ${DISTNAME:S/_W$//}
post-extract: