Sun Mar 20 09:00:09 2011 UTC ()
/usr/bin/su for SSD/Linux.


(obache)
diff -r1.40 -r1.41 pkgsrc/mk/platform/Linux.mk

cvs diff -r1.40 -r1.41 pkgsrc/mk/platform/Linux.mk (expand / switch to unified diff)

--- pkgsrc/mk/platform/Linux.mk 2010/07/08 04:57:36 1.40
+++ pkgsrc/mk/platform/Linux.mk 2011/03/20 09:00:08 1.41
@@ -1,28 +1,32 @@ @@ -1,28 +1,32 @@
1# $NetBSD: Linux.mk,v 1.40 2010/07/08 04:57:36 dholland Exp $ 1# $NetBSD: Linux.mk,v 1.41 2011/03/20 09:00:08 obache Exp $
2# 2#
3# Variable definitions for the Linux operating system. 3# Variable definitions for the Linux operating system.
4 4
5ECHO_N?= ${ECHO} -n 5ECHO_N?= ${ECHO} -n
6.if !defined(X11_TYPE) || ${X11_TYPE} == "native" 6.if !defined(X11_TYPE) || ${X11_TYPE} == "native"
7IMAKE_MAKE?= ${GMAKE} # program which gets invoked by imake 7IMAKE_MAKE?= ${GMAKE} # program which gets invoked by imake
8IMAKE_TOOLS= gmake # extra tools required when we use imake 8IMAKE_TOOLS= gmake # extra tools required when we use imake
9.endif 9.endif
10IMAKEOPTS+= -DBuildHtmlManPages=NO 10IMAKEOPTS+= -DBuildHtmlManPages=NO
11PKGLOCALEDIR?= share 11PKGLOCALEDIR?= share
12PS?= /bin/ps 12PS?= /bin/ps
13# XXX: default from defaults/mk.conf. Verify/correct for this platform 13# XXX: default from defaults/mk.conf. Verify/correct for this platform
14# and remove this comment. 14# and remove this comment.
 15.if exists(/usr/bin/su)
 16SU?= /usr/bin/su
 17.else
15SU?= /bin/su 18SU?= /bin/su
 19.endif
16TYPE?= type # Shell builtin 20TYPE?= type # Shell builtin
17 21
18CPP_PRECOMP_FLAGS?= # unset 22CPP_PRECOMP_FLAGS?= # unset
19DEF_UMASK?= 022 23DEF_UMASK?= 022
20DEFAULT_SERIAL_DEVICE?= /dev/null 24DEFAULT_SERIAL_DEVICE?= /dev/null
21EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table 25EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table
22GROUPADD?= /usr/sbin/groupadd 26GROUPADD?= /usr/sbin/groupadd
23MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type 27MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type
24.if exists(/usr/bin/false) 28.if exists(/usr/bin/false)
25NOLOGIN?= /usr/bin/false 29NOLOGIN?= /usr/bin/false
26.else 30.else
27NOLOGIN?= /bin/false 31NOLOGIN?= /bin/false
28.endif 32.endif