summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2014-03-04 16:41:14 +0100
committerTor Didriksen <tor.didriksen@oracle.com>2014-03-04 16:41:14 +0100
commit5295b21feb2d03a4ae929ce2d94ef86dbded213b (patch)
tree6bba91031e6769595911bed3f92e6a1491962ae2
parentb263e9d5bbc0b9d2e9999759c76453925a43f7a0 (diff)
downloadmariadb-git-5295b21feb2d03a4ae929ce2d94ef86dbded213b.tar.gz
Bug#18305641 SOLARIS SPECIFIIC FILES INSTALLED ON ALL PLATFORMS
Don't install solaris specific files on other platforms.
-rw-r--r--packaging/solaris/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/solaris/CMakeLists.txt b/packaging/solaris/CMakeLists.txt
index 02881e0af8f..899847d0f38 100644
--- a/packaging/solaris/CMakeLists.txt
+++ b/packaging/solaris/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,6 +17,10 @@
# Any files in this directory are auxiliary files for Solaris "pkg" packages.
# They will be configured during "pkg" creation, not during (binary) build.
+IF(NOT CMAKE_SYSTEM_NAME MATCHES "SunOS")
+ RETURN()
+ENDIF()
+
# Currently, this expands to "support-files/" in most layouts,
# but to "/usr/share/mysql/" in a RPM.
# It is important not to pollute "/usr/bin".