~percona-dev/percona-server/release-5.5.11-20.2-fix-bug-764138

« back to all changes in this revision

Viewing changes to build/debian/patches/10_percona-server-perfix.patch

  • Committer: Ignacio Nin
  • Date: 2011-03-13 17:18:23 UTC
  • mfrom: (33.3.17 release-5.5.8-20)
  • Revision ID: ignacio.nin@percona.com-20110313171823-m06xs104nekulywb
Merge changes from release-5.5.8-20 to 5.5.9

Merge changes from the release branch of 5.5.8 to 5.5.9. These include
the HandlerSocket and UDF directories and the building scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Fixed prefix to /opt/<provider>/<package> form
 
2
See Filesystem Hierarchy Standard (http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html) for details
 
3
--- a/cmake/install_layout.cmake
 
4
+++ b/cmake/install_layout.cmake
 
5
@@ -74,7 +74,7 @@
 
6
   IF(INSTALL_LAYOUT MATCHES "RPM")
 
7
     SET(default_prefix "/usr")
 
8
   ELSEIF(INSTALL_LAYOUT MATCHES "DEB")
 
9
-    SET(default_prefix "/opt/mysql/server-${MYSQL_BASE_VERSION}")
 
10
+    SET(default_prefix "/opt/percona/percona-server-${MYSQL_BASE_VERSION}")
 
11
     # This is required to avoid "cpack -GDEB" default of prefix=/usr
 
12
     SET(CPACK_SET_DESTDIR ON)
 
13
   ELSEIF(INSTALL_LAYOUT MATCHES "SVR4")