tech-pkg archive

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

Re: bcal: readline on OpenBSD requires curses



On Wed, 19 Dec 2018 20:45:33 +0100 Martin Husemann <martin%duskware.de@localhost> wrote:
> I think -ltermcap is the official way (at least according to NetBSD 
> documentation).

Makes sense, works on OpenBSD too.

In .work.log see that -lreadline is transformed to -ledit -ltermcap on
NetBSD; shouldn't something similar be done for OpenBSD?

I also see that on NetBSD the termcap buildink variables are added for
edtiline, but on OpenBSD it's curses for readline:

openbsd$ bmake show-all-bl3
bl3:
  sys   BUILDLINK_BINDIR=       /var/work/math/bcal/work/.buildlink/bin
  sys   BUILDLINK_CFLAGS        # undefined
  sys   BUILDLINK_CPPFLAGS      # undefined
  sys   BUILDLINK_DEPENDS       # undefined
  sys   BUILDLINK_LDADD         # undefined
  sys   BUILDLINK_LDFLAGS       # undefined
  sys   BUILDLINK_LIBS          # undefined
  sys   BUILDLINK_AUTO_VARS.curses # undefined
  sys   BUILDLINK_BUILTIN_MK.curses= ../../mk/curses.builtin.mk
  sys   BUILDLINK_CONTENTS_FILTER.curses # undefined
  sys   BUILDLINK_CPPFLAGS.curses # undefined
  sys   BUILDLINK_DEPMETHOD.curses= full
  sys   BUILDLINK_FILES_CMD.curses # undefined
  sys   BUILDLINK_INCDIRS.curses= /usr/include
  sys   BUILDLINK_LDFLAGS.curses # undefined
  sys   BUILDLINK_LIBDIRS.curses # undefined
  sys   BUILDLINK_PKGNAME.curses # undefined
  sys   BUILDLINK_PREFIX.curses # undefined
  sys   BUILDLINK_RPATHDIRS.curses # undefined
  sys   IGNORE_PKG.curses       # undefined
  sys   USE_BUILTIN.curses=     yes
  sys   BUILDLINK_AUTO_VARS.readline # undefined
  sys   BUILDLINK_BUILTIN_MK.readline= ../../devel/readline/builtin.mk
  sys   BUILDLINK_CONTENTS_FILTER.readline # undefined
  sys   BUILDLINK_CPPFLAGS.readline # undefined
  sys   BUILDLINK_DEPMETHOD.readline= full
  sys   BUILDLINK_FILES_CMD.readline # undefined
  sys   BUILDLINK_INCDIRS.readline # undefined
  sys   BUILDLINK_LDFLAGS.readline # undefined
  sys   BUILDLINK_LIBDIRS.readline # undefined
  sys   BUILDLINK_PKGNAME.readline # undefined
  sys   BUILDLINK_PREFIX.readline # undefined
  sys   BUILDLINK_RPATHDIRS.readline # undefined
  sys   IGNORE_PKG.readline     # undefined
  sys   USE_BUILTIN.readline=   yes

netbsd$ make show-all-bl3                       
bl3:
  sys   BUILDLINK_BINDIR=       /var/work/math/bcal/work/.buildlink/bin
  sys   BUILDLINK_CFLAGS        # undefined
  sys   BUILDLINK_CPPFLAGS      # undefined
  sys   BUILDLINK_DEPENDS       # undefined
  sys   BUILDLINK_LDADD         # undefined
  sys   BUILDLINK_LDFLAGS       # undefined
  sys   BUILDLINK_LIBS          # undefined
  sys   BUILDLINK_AUTO_VARS.editline # undefined
  sys   BUILDLINK_BUILTIN_MK.editline= ../../devel/editline/builtin.mk
  sys   BUILDLINK_CONTENTS_FILTER.editline # undefined
  sys   BUILDLINK_CPPFLAGS.editline # undefined
  sys   BUILDLINK_DEPMETHOD.editline= full
  sys   BUILDLINK_FILES_CMD.editline # undefined
  sys   BUILDLINK_INCDIRS.editline # undefined
  sys   BUILDLINK_LDFLAGS.editline # undefined
  sys   BUILDLINK_LIBDIRS.editline # undefined
  sys   BUILDLINK_PKGNAME.editline # undefined
  sys   BUILDLINK_PREFIX.editline= /usr
  sys   BUILDLINK_RPATHDIRS.editline # undefined
  sys   IGNORE_PKG.editline     # undefined
  sys   USE_BUILTIN.editline=   yes
  sys   BUILDLINK_AUTO_VARS.termcap # undefined
  sys   BUILDLINK_BUILTIN_MK.termcap= ../../mk/termcap.builtin.mk
  sys   BUILDLINK_CONTENTS_FILTER.termcap # undefined
  sys   BUILDLINK_CPPFLAGS.termcap # undefined
  sys   BUILDLINK_DEPMETHOD.termcap= full
  sys   BUILDLINK_FILES_CMD.termcap # undefined
  sys   BUILDLINK_INCDIRS.termcap # undefined
  sys   BUILDLINK_LDFLAGS.termcap # undefined
  sys   BUILDLINK_LIBDIRS.termcap # undefined
  sys   BUILDLINK_PKGNAME.termcap # undefined
  sys   BUILDLINK_PREFIX.termcap= /usr
  sys   BUILDLINK_RPATHDIRS.termcap # undefined
  sys   IGNORE_PKG.termcap      # undefined
  sys   USE_BUILTIN.termcap=    yes

Sijmen


Home | Main Index | Thread Index | Old Index