mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
12 lines
628 B
Diff
12 lines
628 B
Diff
--- ext/nokogiri/extconf.rb.orig 2021-09-15 22:20:13.000000000 +0300
|
|
+++ ext/nokogiri/extconf.rb 2021-09-15 22:21:00.000000000 +0300
|
|
@@ -614,7 +614,7 @@
|
|
# append_cflags(["-Wcast-qual", "-Wwrite-strings"])
|
|
|
|
# Add SDK-specific include path for macOS and brew versions before v2.2.12 (2020-04-08) [#1851, #1801]
|
|
-macos_mojave_sdk_include_path = "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/libxml2"
|
|
+macos_mojave_sdk_include_path = "@@PREFIX@@/include/libxml2"
|
|
if config_system_libraries? && darwin? && Dir.exist?(macos_mojave_sdk_include_path)
|
|
append_cppflags("-I#{macos_mojave_sdk_include_path}")
|
|
end
|