pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: tmux build failure on FreeBSD 9.2
On Tue, Nov 19, 2013 at 09:21:53PM +0900, OBATA Akio wrote:
>
> I see...
>
> 1. FreeBSD have libtinfo and libcurses, not libterminfo.
> 2. terminfo.builtin.mk detects libtinfo as builtin terminfo.
> 3. devel/tmux only try to find libterminfo and libcurses as terminfo library.
> 4. terminfo.buildlink3.mk will take care about reverse situaion
> (builtin libterminfo is found, package try to use libtinfo),
> but this case (builtin libtinfo is found package try to use libterminfo)
> is not handled well (with BUILDLINK_TRANSFORM)
>
> Following should resolve the issue, but cannot handle for the case
> package will not try to use libterminfo (only libtinfo and/or libcurses).
> I don't know such case exists in pkgsrc or not (roy, do you know?)
Yes, solves my problem! Thanks!
Emil
>
> Index: terminfo.buildlink3.mk
> ===================================================================
> RCS file: /cvsroot/pkgsrc/mk/terminfo.buildlink3.mk,v
> retrieving revision 1.4
> diff -u -r1.4 terminfo.buildlink3.mk
> --- terminfo.buildlink3.mk 19 Nov 2013 11:43:19 -0000 1.4
> +++ terminfo.buildlink3.mk 19 Nov 2013 11:44:33 -0000
> @@ -74,10 +74,11 @@
> .if empty(TERMINFO_TYPE:Mnone)
> . for _tcap_ in ${_TERMINFO_TYPES}
> . if empty(TERMINFO_TYPE:M${_tcap_})
> -BUILDLINK_TRANSFORM+= l:${_tcap_}:${BUILDLINK_LIBNAME.terminfo}
> +BUILDLINK_TRANSFORM+= rm:${_tcap_}
> . endif
> . endfor
> .endif
> +BUILDLINK_TRANSFORM+= l:terminfo:${BUILDLINK_LIBNAME.terminfo}
>
> .endif # TERMINFO_BUILDLINK3_MK
>
>
> --
> OBATA Akio / obache%NetBSD.org@localhost
--
esg%sdf.lonestar.org@localhost
SDF Public Access UNIX System - http://sdf.lonestar.org
Home |
Main Index |
Thread Index |
Old Index