diff --git a/shells/ksh93/patches/patch-src_cmd_ksh93_Mamfile b/shells/ksh93/patches/patch-src_cmd_ksh93_Mamfile new file mode 100644 index 00000000000..1e9d9ad469b --- /dev/null +++ b/shells/ksh93/patches/patch-src_cmd_ksh93_Mamfile @@ -0,0 +1,23 @@ +$OpenBSD: patch-src_cmd_ksh93_Mamfile,v 1.1 2018/05/01 08:37:50 pascal Exp $ + +Index: src/cmd/ksh93/Mamfile +--- src/cmd/ksh93/Mamfile.orig ++++ src/cmd/ksh93/Mamfile +@@ -1337,7 +1337,7 @@ prev +ljobs + prev +li + prev ${mam_libsocket} + prev ${mam_libsecdb} +-exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o ksh pmain.o ${mam_libshell} ${mam_libnsl} ${mam_libast} ++exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o ksh pmain.o ${mam_libshell} ${mam_libnsl} ${mam_libast} -lm + done ksh generated + make shcomp + make shcomp.o +@@ -1361,7 +1361,7 @@ prev ${mam_libsocket} + prev ${mam_libsecdb} + setv CC.DLL -UCC.DLL + setv SH_DICT -DSH_DICT="\"libshell\"" +-exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o shcomp shcomp.o ${mam_libshell} ${mam_libnsl} ${mam_libast} ++exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o shcomp shcomp.o ${mam_libshell} ${mam_libnsl} ${mam_libast} -lm + done shcomp generated + make suid_exec + make suid_exec.o