diff options
author | reed <reed@pkgsrc.org> | 2005-02-17 20:03:26 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-02-17 20:03:26 +0000 |
commit | a839411efa01ab4784abd4d36305ed316093c3c4 (patch) | |
tree | 37aa7abe9db1e645f70e8151aa0930a6903428d2 /mk | |
parent | 6b801fdf4335a4ad231196c0ae642b42487cd8a5 (diff) | |
download | pkgsrc-a839411efa01ab4784abd4d36305ed316093c3c4.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')
-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 |