From 5295b21feb2d03a4ae929ce2d94ef86dbded213b Mon Sep 17 00:00:00 2001 From: Tor Didriksen Date: Tue, 4 Mar 2014 16:41:14 +0100 Subject: [PATCH] Bug#18305641 SOLARIS SPECIFIIC FILES INSTALLED ON ALL PLATFORMS Don't install solaris specific files on other platforms. --- packaging/solaris/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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".