aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pdf2htmlex.rb
diff options
context:
space:
mode:
authorDominyk Tiller2014-12-07 21:21:57 +0000
committerJack Nagel2014-12-11 14:44:46 -0500
commita1cc148b3ca4e734055820cf83286b51caca48bc (patch)
tree6e4b2a12ba1c6e38d0b04390ed2284f9c72caa81 /Library/Formula/pdf2htmlex.rb
parenta9bc265793708de849008041f32eb0326cfcd4e0 (diff)
downloadhomebrew-a1cc148b3ca4e734055820cf83286b51caca48bc.tar.bz2
zlib & sqlite3: pkgconfig support
native pkg-config support for zlib and sqlite to elimate the need to pass flags to configure or make stages in formulae. Closes #34765. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/pdf2htmlex.rb')
-rw-r--r--Library/Formula/pdf2htmlex.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Formula/pdf2htmlex.rb b/Library/Formula/pdf2htmlex.rb
index e5f67ef68..355f68687 100644
--- a/Library/Formula/pdf2htmlex.rb
+++ b/Library/Formula/pdf2htmlex.rb
@@ -54,27 +54,14 @@ class Pdf2htmlex < Formula
# Fix linker error; see: http://trac.macports.org/ticket/25012
ENV.append "LDFLAGS", "-lintl"
- # And fix the zlib hunting.
- ENV.append "ZLIB_CFLAGS", "-I/usr/include"
- ENV.append "ZLIB_LIBS", "-L/usr/lib -lz"
-
# Reset ARCHFLAGS to match how we build
ENV["ARCHFLAGS"] = "-arch #{MacOS.preferred_arch}"
system "./autogen.sh"
system "./configure", *args
- # Fix hard-coded install locations that don't respect the target bindir
- inreplace "Makefile", "/Applications", "$(prefix)"
-
system "make"
system "make", "install"
-
- # Fix breaking zlib pkg-config file issue.
- inreplace "#{prefix}/fontforge/lib/pkgconfig/libfontforge.pc", "zlib", " "
-
- # Fix breaking zlib pkg-config file issue number 2.
- inreplace "#{prefix}/fontforge/lib/pkgconfig/libfontforgeexe.pc", "zlib", " "
end
# Prepend the paths to always find this dep fontforge instead of another.