pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/misc/fd
On Sun, 18 Dec 2011, David Holland wrote:
> On Sat, Dec 17, 2011 at 10:16:13AM +0000, Steven Drake wrote:
> > Modified Files:
> > pkgsrc/misc/fd: Makefile distinfo
> > pkgsrc/misc/fd/patches: patch-Makefile.in
> >
> > Log Message:
> > Add missing mk/termcap buildlink.
> > Respect LDFLAGS
> >
> > Bump PKGREVISION
>
> cc -o fd main.o printf.o termio.o term.o stream.o string.o malloc.o time.o
> pathname.o system.o posixsh.o doscom.o log.o sysemu.o dosdisk.o realpath.o
> encode.o libc.o file.o apply.o pty.o termemu.o frontend.o backend.o parse.o
> builtin.o shell.o socket.o url.o auth.o ftp.o html.o http.o urldisk.o
> catalog.o kconv.o input.o ime.o dict.o roman.o info.o rockridg.o tree.o
> lsparse.o archive.o custom.o command.o browse.o -L/usr/lib -Wl,-R/usr/lib
> -Wl,-R/home/pkgbulk/pkg/lib -ltermlib
> term.o: In function `freeterment':
> term.c:(.text+0x6b8): undefined reference to `BC'
> term.c:(.text+0x6c9): undefined reference to `UP'
> term.o: In function `tputs2':
> term.c:(.text+0x88e): undefined reference to `tputs'
> [...]
> term.o: In function `tgetstr3':
> term.c:(.text+0x12eb): undefined reference to `tgetstr'
> term.c:(.text+0x130d): undefined reference to `tgetstr'
> term.o: In function `tgetstr2':
> term.c:(.text+0x1367): undefined reference to `tgetstr'
> term.o: In function `getterment':
> term.c:(.text+0x1629): undefined reference to `tgetent'
> [...]
>
> The wrappers are removing -ltermlib; I don't see why.
Basicly mk/termcap.builtin.mk decides that -ltermcap (not -ltermlib)
should be used and mk/termcap.buildlink3.mk then has the wrappers remove
any other termcap like library (i.e. terminfo curses termcap termlib
tinfo).
The fd build process decides based on ostype and only ostype what library
its going to use (e.g. termlib).
Try the workaround I just committed and let me know if it works.
--
Steven
Home |
Main Index |
Thread Index |
Old Index