aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2013-02-01 18:33:13 -0800
committerAdam Vandenberg2013-02-01 18:33:13 -0800
commit5d54f60ac3c08ad92d61914a1718ee5f43b98979 (patch)
tree137a021dc4a335afc31ffde10292f9455cc836c9
parentc22e5ecf26fbb2cedefc0ada28f22c37709978bf (diff)
downloadhomebrew-5d54f60ac3c08ad92d61914a1718ee5f43b98979.tar.bz2
doxygen: fix build
Closes #17504.
-rw-r--r--Library/Formula/doxygen.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/doxygen.rb b/Library/Formula/doxygen.rb
index 8aecdf6fe..feb507183 100644
--- a/Library/Formula/doxygen.rb
+++ b/Library/Formula/doxygen.rb
@@ -16,6 +16,15 @@ class Doxygen < Formula
def install
system "./configure", "--prefix", prefix
+ # Per Macports:
+ # https://trac.macports.org/browser/trunk/dports/textproc/doxygen/Portfile#L92
+ inreplace %w[ libmd5/Makefile.libmd5
+ src/Makefile.libdoxycfg
+ tmake/lib/macosx-c++/tmake.conf
+ tmake/lib/macosx-intel-c++/tmake.conf
+ tmake/lib/macosx-uni-c++/tmake.conf ],
+ '-Wno-invalid-source-encoding', ''
+
system "make"
# MAN1DIR, relative to the given prefix
system "make", "MAN1DIR=share/man/man1", "install"