pkgsrc-Users archive

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

Re: misc/tmux on OS X



On Tue, 05 Nov 2013 22:18:44 +0900, Jean-Yves Moulin <jym%baaz.fr@localhost> 
wrote:


On 5 Nov 2013, at 12:45 , OBATA Akio <obache%netbsd.org@localhost> wrote:


Could you look at config.log and find why it failed?
It already include terminfo.buildlink3.mk and terminfo should be sufficient.


Yes. It failed on setupterm test:

configure:4950: clang -o conftest -pipe -Qunused-arguments -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -L/usr/lib
conftest.c -lcurses -llevent  >&5
Undefined symbols for architecture x86_64:
  "_setupterm", referenced from:
      _main in conftest-eZ7iIE.o
ld: symbol(s) not found for architecture x86_64

Please retry with following changes:

Index: mk/terminfo.builtin.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/terminfo.builtin.mk,v
retrieving revision 1.2
diff -u -r1.2 terminfo.builtin.mk
--- mk/terminfo.builtin.mk      8 Feb 2010 22:11:43 -0000       1.2
+++ mk/terminfo.builtin.mk      6 Nov 2013 02:08:11 -0000
@@ -77,7 +77,9 @@
 # of those library options.
 #
 .  if empty(BUILDLINK_TREE:Mcurses) && empty(BUILDLINK_TREE:Mncurses)
+.    if empty(BUILTIN_LIBNAME.terminfo:Mcurses)
 BUILDLINK_TRANSFORM+=          rm:-lcurses
+.    endif
 BUILDLINK_TRANSFORM+=          rm:-lncurses
 .  endif



--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index