openbsd-ports/www/cherokee/patches/patch-cherokee_main_admin_c
2012-12-12 02:17:40 +00:00

13 lines
497 B
Plaintext

$OpenBSD: patch-cherokee_main_admin_c,v 1.2 2012/12/12 02:17:40 brad Exp $
--- cherokee/main_admin.c.orig Wed Oct 12 14:07:44 2011
+++ cherokee/main_admin.c Wed Oct 19 13:51:21 2011
@@ -554,7 +554,7 @@ check_for_python (void)
int re;
pid_t pid;
int exitcode = -1;
- char const *args[] = {"env", "python", "-c", "raise SystemExit", NULL};
+ char const *args[] = {"env", "python${MODPY_VERSION}", "-c", "raise SystemExit", NULL};
pid = fork();
if (pid == -1) {