29 | | After that, almost all the ports would install +universal on that system without any trouble. A few ports were not plumbing the `-isysroot${configure.sdkroot}` to the build and link line, three or four, and I tagged that bit onto the compiler spec. |
| 33 | After that, almost all the ports would install +universal on that system without any trouble. A few ports were not plumbing the `-isysroot${configure.sdkroot}` to the build and link line, three or four, and I tagged that bit onto the compiler spec, most often by adding a bit like this to the portfile: |
| 34 | {{{ |
| 35 | if {${configure.sdkroot} ne ""} { |
| 36 | configure.cc-append -isysroot${configure.sdkroot} |
| 37 | configure.cxx-append -isysroot${configure.sdkroot} |
| 38 | } |
| 39 | }}} |