summaryrefslogtreecommitdiff
path: root/sysutils/lsof/Makefile
diff options
context:
space:
mode:
authortron <tron>2011-06-20 10:19:54 +0000
committertron <tron>2011-06-20 10:19:54 +0000
commit2733834d516f716b22684b96a9e20150d5958725 (patch)
treeb488a5c18ee69d309c2dfd34d9bfbf9994923a1b /sysutils/lsof/Makefile
parent35a67cde1e6b0f8a11591a320ce552ec225bca2c (diff)
downloadpkgsrc-2733834d516f716b22684b96a9e20150d5958725.tar.gz
Fix build problem caused by tmpfs changes in NetBSD-current.
Diffstat (limited to 'sysutils/lsof/Makefile')
-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"