summaryrefslogtreecommitdiff
path: root/databases/mysql5-server/patches/patch-ac
blob: c8da422b49311e454825a9aa6e323fc3c7408ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ac,v 1.5 2007/03/11 18:42:49 adam Exp $

--- mysql-test/Makefile.in.orig	2007-03-05 20:22:56.000000000 +0100
+++ mysql-test/Makefile.in
@@ -374,7 +374,7 @@ zlib_dir = @zlib_dir@
 @HAVE_NDBCLUSTER_DB_FALSE@USE_NDBCLUSTER = \"\"
 @HAVE_NDBCLUSTER_DB_TRUE@USE_NDBCLUSTER = \"--ndbcluster\"
 benchdir_root = $(prefix)
-testdir = $(benchdir_root)/mysql-test
+testdir = $(benchdir_root)/share/mysql-test
 EXTRA_SCRIPTS = mysql-test-run-shell.sh install_test_db.sh valgrind.supp $(PRESCRIPTS)
 EXTRA_DIST = $(EXTRA_SCRIPTS)
 GENSCRIPTS = mysql-test-run-shell mysql-test-run install_test_db mtr
@@ -770,12 +770,11 @@ dist-hook:
 	$(INSTALL_DATA) $(srcdir)/lib/*.pl $(distdir)/lib
 
 install-data-local:
-	$(mkinstalldirs) \
-		$(DESTDIR)$(testdir)/t \
-		$(DESTDIR)$(testdir)/r \
-		$(DESTDIR)$(testdir)/include \
-		$(DESTDIR)$(testdir)/std_data \
-		$(DESTDIR)$(testdir)/lib
+	$(mkinstalldirs) $(DESTDIR)$(testdir)/t
+	$(mkinstalldirs) $(DESTDIR)$(testdir)/r
+	$(mkinstalldirs) $(DESTDIR)$(testdir)/include
+	$(mkinstalldirs) $(DESTDIR)$(testdir)/std_data
+	$(mkinstalldirs) $(DESTDIR)$(testdir)/lib
 	$(INSTALL_DATA) $(srcdir)/README $(DESTDIR)$(testdir)
 	-$(INSTALL_DATA) $(srcdir)/t/*.def $(DESTDIR)$(testdir)/t
 	$(INSTALL_DATA) $(srcdir)/t/*.test $(DESTDIR)$(testdir)/t