summaryrefslogtreecommitdiff
path: root/support-files/mysql.spec.sh
diff options
context:
space:
mode:
authorJonathan Perkin <jonathan.perkin@oracle.com>2010-04-12 13:03:30 +0200
committerJonathan Perkin <jonathan.perkin@oracle.com>2010-04-12 13:03:30 +0200
commit9c1f9560d4f950ceb321e0595207e8bac4f81c94 (patch)
tree6bc07b0bdf09d87daa8f9ee42266ef65b672d8d8 /support-files/mysql.spec.sh
parent273f9e91b02dfe7fc99cff9e0806b578e16fd64e (diff)
downloadmariadb-git-9c1f9560d4f950ceb321e0595207e8bac4f81c94.tar.gz
Fixups.
Diffstat (limited to 'support-files/mysql.spec.sh')
-rw-r--r--support-files/mysql.spec.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 71a9a533421..1f9641a38b1 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -86,11 +86,11 @@
# ----------------------------------------------------------------------------
# Server comment strings
# ----------------------------------------------------------------------------
-%if %{undefined server_comment_debug}
-%define server_comment_debug MySQL Community Server - Debug (GPL)
+%if %{undefined compilation_comment_debug}
+%define compilation_comment_debug MySQL Community Server - Debug (GPL)
%endif
-%if %{undefined server_comment_release}
-%define server_comment_release MySQL Community Server (GPL)
+%if %{undefined compilation_comment_release}
+%define compilation_comment_release MySQL Community Server (GPL)
%endif
# ----------------------------------------------------------------------------
@@ -365,9 +365,9 @@ mkdir debug
${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \
-DCMAKE_BUILD_TYPE=Debug \
-DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
- -DFEATURE_SET=%{feature_set} \
- -DCOMPILATION_COMMENT=%{compilation_comment_debug} \
- -DMYSQL_SERVER_SUFFIX=%{server_suffix}
+ -DFEATURE_SET="%{feature_set}" \
+ -DCOMPILATION_COMMENT="%{compilation_comment_debug}" \
+ -DMYSQL_SERVER_SUFFIX="%{server_suffix}"
make VERBOSE=1 mysqld mysqlserver
)
# Build full release
@@ -379,9 +379,9 @@ mkdir release
${CMAKE} ../%{src_dir} -DBUILD_CONFIG=mysql_release -DINSTALL_LAYOUT=RPM \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DMYSQL_UNIX_ADDR="/var/lib/mysql/mysql.sock" \
- -DFEATURE_SET=%{feature_set} \
- -DCOMPILATION_COMMENT=%{compilation_comment_release} \
- -DMYSQL_SERVER_SUFFIX=%{server_suffix}
+ -DFEATURE_SET="%{feature_set}" \
+ -DCOMPILATION_COMMENT="%{compilation_comment_release}" \
+ -DMYSQL_SERVER_SUFFIX="%{server_suffix}"
make VERBOSE=1
)