Skip to content

Commit

Permalink
remove defines set now by ECM for apple
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-cullmann committed Jul 26, 2015
1 parent 0efcb4d commit a04a8c7
Show file tree
Hide file tree
Showing 27 changed files with 1 addition and 34 deletions.
3 changes: 1 addition & 2 deletions kf5-dolphin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def patches
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_INSTALL_BUNDLEDIR=/Applications/KDE"

system "cmake", ".", *args
Expand Down Expand Up @@ -78,4 +77,4 @@ def install
+#add_subdirectory(docs)

# TODO Remove the if/endif lines if Dolphin is split.
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${Dolphin_SOURCE_DIR}")
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${Dolphin_SOURCE_DIR}")
1 change: 0 additions & 1 deletion kf5-frameworkintegration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Kf5Frameworkintegration < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
3 changes: 0 additions & 3 deletions kf5-kactivities.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class Kf5Kactivities < Formula

def install
args = std_cmake_args
args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_C_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_REQUIRED_DEFINITIONS='-D_DARWIN_C_SOURCE'"

mkdir "build" do
system "cmake", "..", *args
Expand Down
1 change: 0 additions & 1 deletion kf5-karchive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Kf5Karchive < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def patches
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kcmutils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Kf5Kcmutils < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kcodecs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Kf5Kcodecs < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kcoreaddons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Kf5Kcoreaddons < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kcrash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class Kf5Kcrash < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
3 changes: 0 additions & 3 deletions kf5-kdeclarative.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class Kf5Kdeclarative < Formula

def install
args = std_cmake_args
args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_C_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_REQUIRED_DEFINITIONS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kded.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class Kf5Kded < Formula

def install
args = std_cmake_args
args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kdelibs4support.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class Kf5Kdelibs4support < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kdesu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def patches

def install
args = std_cmake_args
args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kiconthemes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class Kf5Kiconthemes < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kidletime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Kf5Kidletime < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kimageformats.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class Kf5Kimageformats < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kinit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Kf5Kinit < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
3 changes: 0 additions & 3 deletions kf5-kio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class Kf5Kio < Formula

def install
args = std_cmake_args
args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_C_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_REQUIRED_DEFINITIONS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kjs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class Kf5Kjs < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-konsole.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def patches
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_INSTALL_BUNDLEDIR=/Applications/KDE"

system "cmake", ".", *args
Expand Down
1 change: 0 additions & 1 deletion kf5-konversation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Kf5Konversation < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kpackage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Kf5Kpackage < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kparts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class Kf5Kparts < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kplotting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Kf5Kplotting < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-ktexteditor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class Kf5Ktexteditor < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-kwindowsystem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Kf5Kwindowsystem < Formula
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE -DQT_MAC_USE_COCOA'"

system "cmake", ".", *args
system "make", "install"
Expand Down
1 change: 0 additions & 1 deletion kf5-okteta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def patches
def install
args = std_cmake_args

args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"

system "cmake", ".", *args
system "make", "install"
Expand Down

0 comments on commit a04a8c7

Please sign in to comment.