Thu May 21 17:15:48 2015 UTC ()
The path to SU is correct
type is a shell builtin on the bundled OpenBSD pdksh
Remove comment as instructed by comment.
Checks performed on OpenBSD 5.7-current


(sevan)
diff -r1.38 -r1.39 pkgsrc/mk/platform/OpenBSD.mk

cvs diff -r1.38 -r1.39 pkgsrc/mk/platform/OpenBSD.mk (expand / switch to unified diff)

--- pkgsrc/mk/platform/OpenBSD.mk 2015/04/21 17:01:56 1.38
+++ pkgsrc/mk/platform/OpenBSD.mk 2015/05/21 17:15:48 1.39
@@ -1,26 +1,24 @@ @@ -1,26 +1,24 @@
1# $NetBSD: OpenBSD.mk,v 1.38 2015/04/21 17:01:56 joerg Exp $ 1# $NetBSD: OpenBSD.mk,v 1.39 2015/05/21 17:15:48 sevan Exp $
2# 2#
3# Variable definitions for the OpenBSD operating system. 3# Variable definitions for the OpenBSD operating system.
4 4
5ECHO_N?= ${ECHO} -n 5ECHO_N?= ${ECHO} -n
6LDD?= /usr/bin/ldd 6LDD?= /usr/bin/ldd
7LDD_ENV?= LD_TRACE_LOADED_OBJECTS_FMT1='\t-l%o => %p\n' \ 7LDD_ENV?= LD_TRACE_LOADED_OBJECTS_FMT1='\t-l%o => %p\n' \
8 LD_TRACE_LOADED_OBJECTS_FMT2= 8 LD_TRACE_LOADED_OBJECTS_FMT2=
9IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake 9IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake
10PKGLOCALEDIR?= share 10PKGLOCALEDIR?= share
11PS?= /bin/ps 11PS?= /bin/ps
12# XXX: default from defaults/mk.conf. Verify/correct for this platform 
13# and remove this comment. 
14SU?= /usr/bin/su 12SU?= /usr/bin/su
15TYPE?= type # Shell builtin 13TYPE?= type # Shell builtin
16 14
17.if exists(/usr/sbin/user) 15.if exists(/usr/sbin/user)
18USERADD?= /usr/sbin/useradd 16USERADD?= /usr/sbin/useradd
19GROUPADD?= /usr/sbin/groupadd 17GROUPADD?= /usr/sbin/groupadd
20.endif 18.endif
21 19
22CPP_PRECOMP_FLAGS?= # unset 20CPP_PRECOMP_FLAGS?= # unset
23DEF_UMASK?= 0022 21DEF_UMASK?= 0022
24.if ${OBJECT_FMT} == "ELF" 22.if ${OBJECT_FMT} == "ELF"
25EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table 23EXPORT_SYMBOLS_LDFLAGS?=-Wl,-E # add symbols to the dynamic symbol table
26.else 24.else