pkgsrc/sysutils/daemontools/patches/patch-src_Makefile
schmonz 7a37d3a4bb Add "daemontools-moresignals" option, which adds options for sending
SIQQUIT (-q), SIGUSR1 (-1), and SIGUSR2 (-2). Bump PKGREVISION.
2017-10-03 00:21:44 +00:00

15 lines
600 B
Text

$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