aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-11-20 21:23:08 -0600
committerJack Nagel2013-11-20 21:24:07 -0600
commit57b37ed2d671eb7c40c64df085df3e89759278b4 (patch)
treeeb5279070be07c49ed142937d175717846aa5d00 /Library/Formula
parent30b3b6904c89970cb2e378b7c5f55f865955cc8c (diff)
downloadhomebrew-57b37ed2d671eb7c40c64df085df3e89759278b4.tar.bz2
glib: remove legacy gettext workaround
This code actually predates PKG_CONFIG_PATH being configured correctly for keg-only deps. It is no longer needed.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/glib.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb
index f8d9226ab..9d8adec00 100644
--- a/Library/Formula/glib.rb
+++ b/Library/Formula/glib.rb
@@ -65,18 +65,6 @@ class Glib < Formula
system "ulimit -n 1024; make check" if build.include? 'test'
system "make install"
- # This sucks; gettext is Keg only to prevent conflicts with the wider
- # system, but pkg-config or glib is not smart enough to have determined
- # that libintl.dylib isn't in the DYLIB_PATH so we have to add it
- # manually.
- gettext = Formula.factory('gettext').opt_prefix
- inreplace lib+'pkgconfig/glib-2.0.pc' do |s|
- s.gsub! 'Libs: -L${libdir} -lglib-2.0 -lintl',
- "Libs: -L${libdir} -lglib-2.0 -L#{gettext}/lib -lintl"
- s.gsub! 'Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include',
- "Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include -I#{gettext}/include"
- end
-
(share+'gtk-doc').rmtree
end