aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-06 17:59:31 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-06 17:59:31 +0000
commitb2a96c6df1c8809216eced623ec37a8372b3216e (patch)
tree0c994bc87e8a2f221a7e2be76b9aafc16eab32bb /sysutils/lsof
parent87b685f5d4325ba771e96b0ef49c71f903fb3ae0 (diff)
downloadports-b2a96c6df1c8809216eced623ec37a8372b3216e.tar.gz
ports-b2a96c6df1c8809216eced623ec37a8372b3216e.zip
Notes
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile24
1 files changed, 1 insertions, 23 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 42136015bea0..404f7154386f 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -79,32 +79,10 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/lsof
@${CHMOD} 0444 ${PREFIX}/share/lsof/00*
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500019
-.if !exists(${FREEBSD_SYS}/miscfs/fdesc/fdesc.h)
-.if defined(PACKAGE_BUILDING)
-BROKEN= 'please install kernel source for official package builds'
-.endif
-
-pre-configure:
- @${ECHO} ""
- @${ECHO} "************************************************************"
- @${ECHO} "* W a r n i n g *"
- @${ECHO} "* A more capable version of LSOF is built if you have *"
- @${ECHO} "* the complete kernel source installed. *"
- @${ECHO} "* If your kernel sources are somewhere other than *"
- @${ECHO} "* /usr/src/sys, you may set the FREEBSD_SYS variable *"
- @${ECHO} "* to the correct path. *"
- @${ECHO} "************************************************************"
- @${ECHO} ""
-.endif
-.endif
-
post-install:
cd ${PREFIX} && \
${FIND} -s share/lsof -type f -o -type l >>${TMPPLIST} ;\
${FIND} -d share/lsof -type d \
| ${SED} -e 's/^/@dirrm /g' >>${TMPPLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>