From 59bc10308b645d879fc9e37e54008e9a3d75ade4 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 20 Jun 2011 10:19:54 +0000 Subject: Fix build problem caused by tmpfs changes in NetBSD-current. --- sysutils/lsof/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysutils/lsof') 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" -- cgit v1.2.3