@@ -846,7 +846,7 @@ def configure
846
846
847
847
if zlib_recipe
848
848
append_cppflags ( "-I#{ zlib_recipe . path } /include" )
849
- $LIBPATH = [ "#{ zlib_recipe . path } /lib" ] | $LIBPATH
849
+ # $LIBPATH = ["#{zlib_recipe.path}/lib"] | $LIBPATH
850
850
ensure_package_configuration (
851
851
opt : "zlib" ,
852
852
pc : "zlib" ,
@@ -858,7 +858,7 @@ def configure
858
858
859
859
if libiconv_recipe
860
860
append_cppflags ( "-I#{ libiconv_recipe . path } /include" )
861
- $LIBPATH = [ "#{ libiconv_recipe . path } /lib" ] | $LIBPATH
861
+ # $LIBPATH = ["#{libiconv_recipe.path}/lib"] | $LIBPATH
862
862
ensure_package_configuration (
863
863
opt : "iconv" ,
864
864
pc : "iconv" ,
@@ -979,12 +979,12 @@ def configure
979
979
%x(sh #{ config } --libs) . strip . shellsplit . each do |arg |
980
980
case arg
981
981
when /\A -L(.+)\z /
982
- # Prioritize ports' directories
983
- $LIBPATH = if Regexp . last_match ( 1 ) . start_with? ( PACKAGE_ROOT_DIR + "/" )
984
- [ Regexp . last_match ( 1 ) ] | $LIBPATH
985
- else
986
- $LIBPATH | [ Regexp . last_match ( 1 ) ]
987
- end
982
+ # # Prioritize ports' directories
983
+ # $LIBPATH = if Regexp.last_match(1).start_with?(PACKAGE_ROOT_DIR + "/")
984
+ # [Regexp.last_match(1)] | $LIBPATH
985
+ # else
986
+ # $LIBPATH | [Regexp.last_match(1)]
987
+ # end
988
988
when /\A -l./
989
989
libs . unshift ( arg )
990
990
else
@@ -1078,7 +1078,7 @@ def compile
1078
1078
end
1079
1079
append_cppflags ( "-I#{ File . join ( libgumbo_recipe . path , "include" ) } " )
1080
1080
$libs = $libs + " " + File . join ( libgumbo_recipe . path , "lib" , "libgumbo.a" )
1081
- $LIBPATH = $LIBPATH | [ File . join ( libgumbo_recipe . path , "lib" ) ]
1081
+ # $LIBPATH = $LIBPATH | [File.join(libgumbo_recipe.path, "lib")]
1082
1082
ensure_func ( "gumbo_parse_with_options" , "nokogiri_gumbo.h" )
1083
1083
1084
1084
have_func ( "xmlHasFeature" ) || abort ( "xmlHasFeature() is missing." ) # introduced in libxml 2.6.21
0 commit comments