Log Message:
Interix has dlopen(3) and family, they are provided by gcc (Interix-6.1).
pkgsrc'c check is broken, so, we set IS_BUILTIN.dl to "yes".
How broken?
Interix's builtin gcc case is handled at the last of pkgsrc/compiler/gcc.mk,
and COMPILER_{INCLUDE,LIB}_DIRS are set properly.
Without my commit USE_BUILTIN.dl is set to "no".
As a result many packages fail.
Below H_DL variable is empty/undefined.
11 ###
12 ### Determine if there is a built-in implementation of the package and
13 ### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
14 ###
15 .if !defined(IS_BUILTIN.dl)
16 IS_BUILTIN.dl= no
17 . if empty(H_DL:M${LOCALBASE}/*) && exists(${H_DL})
18 IS_BUILTIN.dl= yes
19 . endif
20 .endif
21 MAKEVARS+= IS_BUILTIN.dl
...
32 .if !defined(USE_BUILTIN.dl)
33 USE_BUILTIN.dl= ${IS_BUILTIN.dl}
34 .endif