$NetBSD: patch-src_Makefile,v 1.1 2017/10/03 00:21:44 schmonz Exp $

Use a pkgsrc-capable shell on all platforms.

--- src/Makefile.orig	2001-07-12 16:49:49.000000000 +0000
+++ src/Makefile
@@ -265,7 +265,7 @@ readproctitle.o: compile error.h readpro
 rts: envdir envuidgid fghack matchtest multilog pgrphack \
 readproctitle rts.tests setlock setuidgid softlimit supervise svc \
 svok svscan svscanboot svstat tai64n tai64nlocal
-	env - /bin/sh rts.tests 2>&1 | cat -v > rts
+	env - ${PKGSRC_SHELL} rts.tests 2>&1 | cat -v > rts
 
 scan_ulong.o: compile scan.h scan_ulong.c
 	./compile scan_ulong.c
