summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authortv <tv>1999-05-10 19:57:41 +0000
committertv <tv>1999-05-10 19:57:41 +0000
commit8c40fea959a33960ffb49f22bd66ec794e5351a8 (patch)
treece145ab8363019a03585fa84b8ac044c3f8dc2ac /databases
parent519ab5854dd83d20453af5247cf544ef00aee9d9 (diff)
downloadpkgsrc-8c40fea959a33960ffb49f22bd66ec794e5351a8.tar.gz
Make the `ps' check work with systems where ps doesn't necessarily match
the kernel (and ps falls back to /proc).
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-server/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/mysql-server/patches/patch-ac b/databases/mysql-server/patches/patch-ac
new file mode 100644
index 00000000000..60f4f993408
--- /dev/null
+++ b/databases/mysql-server/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 1999/05/10 19:57:41 tv Exp $
+
+--- configure.orig Mon May 10 16:01:58 1999
++++ configure Mon May 10 16:02:10 1999
+@@ -2200,7 +2200,7 @@
+ echo "configure:2201: checking "how to check if pid exists"" >&5
+ PS=$ac_cv_path_PS
+ # Linux style
+-if $PS p $$ 2> /dev/null | grep $0 > /dev/null
++if $PS p $$ 2> /dev/null | grep sh > /dev/null
+ then
+ FIND_PROC="$PS p \$\$PID | grep mysqld > /dev/null"
+ # Solaris