pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/mk/platform



On Thu, 14 Aug 2014 20:24:56 +0900, Aleksey Cheusov <cheusov%tut.by@localhost> 
wrote:

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


I see...mk/compiler/gcc.mk is too late to define
COMPILER_{INCLUDE,LIB}_DIRS...


--
OBATA Akio / obata%lins.jp@localhost



Home | Main Index | Thread Index | Old Index