diff options
author | reed <reed> | 2005-02-17 20:03:26 +0000 |
---|---|---|
committer | reed <reed> | 2005-02-17 20:03:26 +0000 |
commit | 511d9d0d3272d81be00146a2d66f5e78475ca30c (patch) | |
tree | 37aa7abe9db1e645f70e8151aa0930a6903428d2 /mk/platform | |
parent | 0d520619b85df8e73b906abf8af5c8461ba0aa2b (diff) | |
download | pkgsrc-511d9d0d3272d81be00146a2d66f5e78475ca30c.tar.gz |
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 (limited to 'mk/platform')
-rw-r--r-- | mk/platform/Linux.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index 556a5993f54..d8cd9668906 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -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?= /bin/head 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 |