summaryrefslogtreecommitdiff
path: root/sysutils/lsof
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2011-06-20 10:19:54 +0000
committertron <tron@pkgsrc.org>2011-06-20 10:19:54 +0000
commite0fd6d72a78d6c95e2e319e21a8e96fc84c72973 (patch)
treeb488a5c18ee69d309c2dfd34d9bfbf9994923a1b /sysutils/lsof
parent374cab5660f748bb382794ad83d1e78d26345dc1 (diff)
downloadpkgsrc-e0fd6d72a78d6c95e2e319e21a8e96fc84c72973.tar.gz
Fix build problem caused by tmpfs changes in NetBSD-current.
Diffstat (limited to 'sysutils/lsof')
-rw-r--r--sysutils/lsof/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index a2d494ed0cc..9744040eb73 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.109 2011/03/21 00:22:02 jym Exp $
+# $NetBSD: Makefile,v 1.110 2011/06/20 10:19:54 tron Exp $
DISTNAME= lsof_4.83
PKGNAME= ${DISTNAME:S/_/-/}
@@ -59,6 +59,7 @@ REAL_GROUP= ${REAL_ROOT_GROUP}
.if ${OPSYS} == "NetBSD"
REAL_GROUP= kmem
CONFIGURE_ENV+= NETBSD_SYS="${NETBSDSRCDIR}/sys"
+CPPFLAGS+= -D_KMEMUSER
.elif ${OPSYS} == "FreeBSD"
BUILDLINK_PASSTHRU_DIRS+= /usr/src/sys
.elif ${OPSYS} == "SunOS"