summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhauke <hauke>2014-08-19 13:30:53 +0000
committerhauke <hauke>2014-08-19 13:30:53 +0000
commitf03beb81ee2ffea06609450489b9a8bafee7f0de (patch)
treec432ccd03e4156be88ebc9fcc9acdff3c706705f
parent9b7e2923bd855aede73ddeee728b29e374ef2cec (diff)
downloadpkgsrc-f03beb81ee2ffea06609450489b9a8bafee7f0de.tar.gz
On SunOS, take care of the misconfigured ranlib call, following the
discussion in, and fixing, PR pkg/49034. While we are here, make sure the group lsof setgids to is the one owning /dev/kmem on SunOS ('sys').
-rw-r--r--sysutils/lsof/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index e4fb82f5615..92087d36183 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.116 2014/05/29 23:37:29 wiz Exp $
+# $NetBSD: Makefile,v 1.117 2014/08/19 13:30:53 hauke Exp $
DISTNAME= lsof_4.87
PKGNAME= ${DISTNAME:S/_/-/}
@@ -61,7 +61,9 @@ CPPFLAGS+= -D_KMEMUSER
.elif ${OPSYS} == "FreeBSD"
BUILDLINK_PASSTHRU_DIRS+= /usr/src/sys
.elif ${OPSYS} == "SunOS"
+REAL_GROUP= sys
MAKE_ENV+= CPPFLAGS=
+CONFIGURE_ENV+= LSOF_RANLIB="/bin/true"
.endif
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin