aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lsof
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-01-07 01:59:31 +0800
committerpav <pav@FreeBSD.org>2009-01-07 01:59:31 +0800
commit8ef21a396d8627cdfced24744c2bacb7cb0c9453 (patch)
tree06fbb407306ac7e1b7b00946df69737e787c8891 /sysutils/lsof
parente32973556a174646ad93cdf1b43963a9fc18eb55 (diff)
downloadfreebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.gz
freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.zst
freebsd-ports-gnome-8ef21a396d8627cdfced24744c2bacb7cb0c9453.zip
- Remove conditional checks for FreeBSD 5.x and older
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>