pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform If /bin/id exists, then use it for ID else...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aa83b63d7aa7
branches: trunk
changeset: 489155:aa83b63d7aa7
user: reed <reed%pkgsrc.org@localhost>
date: Thu Feb 17 20:03:26 2005 +0000
description:
If /bin/id exists, then use it for ID else use /usr/bin/id.
Mandrake Linux 10.1 as used by A L Meyers has /bin/id.
This should fix his PR #pkg/29430 and #29431.
diffstat:
mk/platform/Linux.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 8861a5171acb -r aa83b63d7aa7 mk/platform/Linux.mk
--- a/mk/platform/Linux.mk Thu Feb 17 19:56:29 2005 +0000
+++ b/mk/platform/Linux.mk Thu Feb 17 20:03:26 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.8 2005/01/28 21:05:59 jlam Exp $
+# $NetBSD: Linux.mk,v 1.9 2005/02/17 20:03:26 reed Exp $
#
# Variable definitions for the Linux operating system.
@@ -67,7 +67,11 @@
HEAD?= /usr/bin/head
.endif
HOSTNAME_CMD?= /bin/hostname
+.if exists(/bin/id)
+ID?= /bin/id
+.else
ID?= /usr/bin/id
+.endif
IMAKE?= ${X11BASE}/bin/imake ${IMAKEOPTS}
IMAKEOPTS+= -DBuildHtmlManPages=NO
LDCONFIG?= /sbin/ldconfig
Home |
Main Index |
Thread Index |
Old Index