aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/lsof/Makefile15
-rw-r--r--sysutils/lsof/distinfo2
2 files changed, 13 insertions, 4 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 8a913290931c..5b0e2ba3df2f 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -4,13 +4,15 @@
# Date created: Sat July 20, 1996
# Whom: David O'Brien (obrien@FreeBSD.org)
#
-# $Id: Makefile,v 1.31 1998/12/29 21:40:00 obrien Exp $
+# $Id: Makefile,v 1.32 1999/01/26 09:42:58 obrien Exp $
#
-DISTNAME= lsof_4.40_W
-PKGNAME= lsof-4.40
+DISTNAME= lsof_4.41G.freebsd
+#DISTNAME= lsof_4.40_W
+PKGNAME= lsof-4.40g
CATEGORIES= sysutils
MASTER_SITES= ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/ \
+ ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/ \
ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/ \
ftp://ftp.auscert.org.au/pub/mirrors/vic.cc.purdue.edu/lsof/ \
ftp://ftp.web.ad.jp/pub/UNIX/tools/lsof/ \
@@ -22,6 +24,7 @@ WRKSRC= ${WRKDIR}/${SRCBALL_NAME}
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= -n freebsd
+CONFIGURE_ENV= LSOF_CC=${CC}
MAN8= lsof.8
.if defined(PACKAGE_BUILDING)
@@ -30,6 +33,7 @@ BROKEN= 'please install kernel source for offical package builds'
.endif
.endif
+.if 0
SRCBALL_NAME= ${DISTNAME:S/_W$//}
post-extract:
@@ -44,6 +48,9 @@ post-extract:
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS:S/z//} ${SRCBALL_NAME}.tar \
)
@( cd ${WRKSRC} ; echo "y" | ./Inventory || exit 1 )
+.else
+WRKSRC=${WRKDIR}/lsof_4.41G.freebsd
+.endif
#pre-patch:
# @${ECHO_MSG} "===> Applying distribution patches for ${PKGNAME}"
@@ -58,6 +65,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/lsof
@/bin/chmod 0444 ${PREFIX}/share/lsof/00*
+.if !exists(/sys/miscfs/fdesc/fdesc.h) && !exists(/usr/src/miscfs/fdesc/fdesc.h)
post-install:
@${ECHO} "************************************************************"
@${ECHO} "* W a r n i n g *"
@@ -66,6 +74,7 @@ post-install:
@${ECHO} "* If this is the case, please ensure /sys is consistant *"
@${ECHO} "* with respect to your running kernel (i.e. not new than). *"
@${ECHO} "************************************************************"
+.endif
.include <bsd.port.mk>
diff --git a/sysutils/lsof/distinfo b/sysutils/lsof/distinfo
index 12f9574e9663..adfd73347063 100644
--- a/sysutils/lsof/distinfo
+++ b/sysutils/lsof/distinfo
@@ -1 +1 @@
-MD5 (lsof_4.40_W.tar.gz) = 01cc0f15f47481fa7e247486a730f5ff
+MD5 (lsof_4.41G.freebsd.tar.gz) = e9aa51e04b580af8c4c990bca5ed2ada