diff --git a/multimedia/mpv/Portfile b/multimedia/mpv/Portfile
index f76ed70..51717c1 100644
a
|
b
|
configure.args-append --disable-macosx-bundle \ |
88 | 88 | --disable-lua |
89 | 89 | |
90 | 90 | # Fix picking up the correct talloc version. |
91 | | configure.cppflags -I${worksrcpath} ${configure.cppflags} |
| 91 | # -isystem has the added benefit of moving the include |
| 92 | # directory specified to the end of the include path list. |
| 93 | # This will help the build system respect custom include |
| 94 | # paths correctly (i.e., searching them before the MP include |
| 95 | # directory.) |
| 96 | configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include |
92 | 97 | |
93 | 98 | platform darwin { |
94 | 99 | # FIXME: use ${os.minor} once it hits stable base |