@@ -472,7 +472,7 @@ def install
472472 # broke things. Now c++11 is needed and I use pkg-config for conveniency.
473473 # And since pkg-config is used, CFLAGS, CXXFLAGS and LDFLAGS aren't needed
474474 # anymore.
475- inreplace "Makefile" , "opencv\ ) " , "opencv4)"
475+ inreplace "Makefile" , "opencv)" , "opencv4)"
476476 inreplace "Makefile" , "$(GCC_OPENCV) $(GCC_OPENCV_LIBS)" , "$(GCC_OPENCV) $(GCC_OPENCV_LIBS) -std=c++11"
477477 inreplace "Makefile-brew.conf" , /^GCC_.*/ , ""
478478 inreplace "Makefile-brew.conf" , /^CFLAGS.*/ , ""
@@ -502,8 +502,8 @@ def install
502502 ( bin /"auto-multiple-choice" ) . write_env_script libexec /"bin/auto-multiple-choice" ,
503503 PERL5LIB : ENV [ "PERL5LIB" ] ,
504504 # netpbm, poppler and imagemagick@6 must be in the PATH
505- PATH : "#{ libexec } /bin:#{ Formula [ "qpdf" ] . bin } :#{ Formula [ "netpbm" ] . bin } " \
506- ":#{ Formula [ "poppler" ] . bin } :#{ Formula [ "imagemagick@6" ] . bin } " \
505+ PATH : "#{ libexec } /bin:#{ Formula [ "qpdf" ] . bin } :#{ Formula [ "netpbm" ] . bin } " \
506+ ":#{ Formula [ "poppler" ] . bin } :#{ Formula [ "imagemagick@6" ] . bin } " \
507507 ":#{ Formula [ "gobject-introspection" ] . bin } :$PATH" ,
508508 AMCBASEDIR : prefix
509509
0 commit comments