9 | | I took a peek at the Makefile, and found it sets an interesting ld option: -search_paths_first. So then I looked it up and "man ld" yields this possibly interesting news: |
10 | | {{{ |
11 | | -search_paths_first |
12 | | This is now the default (in Xcode4 tools). When processing |
13 | | -lx the linker now searches each directory in its library |
14 | | search paths for `libx.dylib' then `libx.a' before the moving |
15 | | on to the next path in the library search path. |
16 | | |
17 | | -search_dylibs_first |
18 | | Changes the searching behavior for libraries. The default is |
19 | | that when processing -lx the linker searches each directory |
20 | | in its library search paths for `libx.dylib' then `libx.a'. |
21 | | This option changes the behavior to first search for a file |
22 | | of the form `libx.dylib' in each directory in the library |
23 | | search path, then a file of the form `libx.a' is searched for |
24 | | in the library search paths. This option restores the search |
25 | | behavior of the linker prior to Xcode4. |
| 9 | I took a peek at the portfile, and found |
| 10 | {{{ |
| 11 | # kerberos5 fails to build in its own presence, see #23769, #37944 |
| 12 | configure.cppflags-delete -I${prefix}/include |
| 13 | configure.ldflags-delete -L${prefix}/lib |