diff --git a/Formula/pdf2htmlex.rb b/Formula/pdf2htmlex.rb
index 4d1e8e418b..931cff48b1 100644
--- a/Formula/pdf2htmlex.rb
+++ b/Formula/pdf2htmlex.rb
@@ -3,7 +3,7 @@ class Pdf2htmlex < Formula
homepage "https://coolwanglu.github.io/pdf2htmlEX/"
url "https://github.com/coolwanglu/pdf2htmlEX/archive/v0.14.6.tar.gz"
sha256 "320ac2e1c2ea4a2972970f52809d90073ee00a6c42ef6d9833fb48436222f0e5"
- revision 18
+ revision 19
head "https://github.com/coolwanglu/pdf2htmlEX.git"
@@ -82,8 +82,6 @@ class Pdf2htmlex < Formula
ENV.prepend_path "PATH", "#{libexec}/fontforge/bin"
resource("poppler").stage do
- ENV["LIBOPENJPEG_CFLAGS"] = "-I#{Formula["openjpeg"].opt_include}/openjpeg-2.2"
-
inreplace "poppler.pc.in", "Cflags: -I${includedir}/poppler",
"Cflags: -I${includedir}/poppler -I${includedir}"