aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike Arthur2010-03-18 15:42:56 +0000
committerMike Arthur2010-03-18 15:45:00 +0000
commit680b6ef3688a8320affdb4e12594dc65245c505a (patch)
tree3a24336d020b58d3c2578429adbc155334d71a28 /Library/Formula
parent993fa3d5b3a28f72b2407633d7d2ba201b025a11 (diff)
downloadhomebrew-680b6ef3688a8320affdb4e12594dc65245c505a.tar.bz2
Ensure KDE packages don't put bundles outside their prefix.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/kdelibs.rb2
-rw-r--r--Library/Formula/kdepimlibs.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/kdelibs.rb b/Library/Formula/kdelibs.rb
index 09f607c90..3173e1c69 100644
--- a/Library/Formula/kdelibs.rb
+++ b/Library/Formula/kdelibs.rb
@@ -22,7 +22,7 @@ class Kdelibs <Formula
gettext = Formula.factory 'gettext'
FileUtils.mkdir('build')
FileUtils.cd('build')
- system "cmake .. #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{gettext.prefix}"
+ system "cmake .. #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{gettext.prefix} -DBUNDLE_INSTALL_DIR=#{bin}"
system "make install"
end
end
diff --git a/Library/Formula/kdepimlibs.rb b/Library/Formula/kdepimlibs.rb
index 05ef7d341..8823bc0d6 100644
--- a/Library/Formula/kdepimlibs.rb
+++ b/Library/Formula/kdepimlibs.rb
@@ -12,7 +12,7 @@ class Kdepimlibs <Formula
depends_on 'kdelibs'
def install
- system "cmake . #{std_cmake_parameters}"
+ system "cmake . #{std_cmake_parameters} -DBUNDLE_INSTALL_DIR=#{bin}"
system "make install"
end
end