tech-pkg archive

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

Re: pkgsrc/lang/erlang fails on NetBSD 10



On Mon, Dec 25, 2023 at 05:27:29PM +0000, John Klos wrote:
> > > gcc: Invalid transform rule: l:termcap:
> > 
> > That's from mk/termcap.buildlink3.mk:
> > 
> > BUILDLINK_TRANSFORM+=           l:termcap:${BUILDLINK_LIBNAME.termcap}
> > 
> > Find out why ${BUILDLINK_LIBNAME.termcap} is empty for you?
> 
> What should it be for built-in termcap?

termcap :)

> From make show-all:
> 
> termcap:
>   usr   USE_BUILTIN.termcap=    yes
>   sys   CHECK_BUILTIN.termcap=  no
>   sys   BUILTIN_LIBNAME.termcap= c
>   sys   TERMCAP_TYPE=           c
>   sys   BUILDLINK_PREFIX.termcap # undefined
>   sys   BUILDLINK_LIBNAME.termcap # undefined
>   sys   BUILDLINK_LDADD.termcap # undefined
>   sys   BUILDLINK_PREFIX.curses # undefined
>   sys   BUILDLINK_LIBNAME.curses # undefined
>   sys   BUILDLINK_LDADD.curses  # undefined
>   use   CURSES_TYPE             # undefined
>   def   _TERMCAP_TYPES=         terminfo curses termcap termlib tinfo
>   def   BUILD_DEFS_EFFECTS=     TERMCAP_TYPE
>   def   BUILDLINK_TRANSFORM=    rm:-lterminfo rm:-ltermlib rm:-ltinfo l:termcap: opt:-O3:-O2

termcap:
  usr   USE_BUILTIN.termcap=    yes
  sys   CHECK_BUILTIN.termcap=  no
  sys   BUILTIN_LIBNAME.termcap= termcap
  sys   TERMCAP_TYPE=           termcap
  sys   BUILDLINK_PREFIX.termcap # undefined
  sys   BUILDLINK_LIBNAME.termcap= termcap
  sys   BUILDLINK_LDADD.termcap= -ltermcap
  sys   BUILDLINK_PREFIX.curses # undefined
  sys   BUILDLINK_LIBNAME.curses # undefined
  sys   BUILDLINK_LDADD.curses  # undefined
  use   CURSES_TYPE             # undefined
  def   _TERMCAP_TYPES=         terminfo curses termcap termlib tinfo
  def   BUILD_DEFS_EFFECTS=     TERMCAP_TYPE
  def   BUILDLINK_TRANSFORM=    rm:-lterminfo rm:-ltermlib rm:-ltinfo l:termcap:termcap opt:-O3:-O2 rm:-lcurses rm:-lncurses

 Thomas


Home | Main Index | Thread Index | Old Index