Skip to content

Commit

Permalink
dbus: add manpages and missing dependencies
Browse files Browse the repository at this point in the history
Closes #6835.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
zbentley authored and MikeMcQuaid committed Nov 13, 2016
1 parent a9d3363 commit 82e0bb7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Formula/dbus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ class Dbus < Formula
url "https://anongit.freedesktop.org/git/dbus/dbus.git"

depends_on "autoconf" => :build
depends_on "autoconf-archive" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
end

depends_on "xmlto" => :build

# Patch applies the config templating fixed in https://bugs.freedesktop.org/show_bug.cgi?id=94494
# Homebrew pr/issue: 50219
patch do
Expand All @@ -37,12 +40,14 @@ def install
# Fix the TMPDIR to one D-Bus doesn't reject due to odd symbols
ENV["TMPDIR"] = "/tmp"

ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"

system "./autogen.sh", "--no-configure" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--localstatedir=#{var}",
"--sysconfdir=#{etc}",
"--disable-xml-docs",
"--enable-xml-docs",
"--disable-doxygen-docs",
"--enable-launchd",
"--with-launchd-agent-dir=#{prefix}",
Expand Down

0 comments on commit 82e0bb7

Please sign in to comment.