[MacPorts] #49882: neovim fails to compile with Symbol not found: _cur_term
MacPorts
noreply at macports.org
Wed Dec 2 19:14:07 PST 2015
#49882: neovim fails to compile with Symbol not found: _cur_term
----------------------+--------------------------------
Reporter: aaron@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: neovim |
----------------------+--------------------------------
Comment (by aaron@…):
Now I'm confused. The patch-Makefile for libtermkey explicltly removes the
unibilium dependency, in favor of ncursesw?
{{{
cat
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libtermkey/files
/patch-Makefile.diff
--- Makefile.orig 2015-10-03 19:37:52.000000000 +0200
+++ Makefile 2015-10-03 19:39:01.000000000 +0200
@@ -19,25 +19,14 @@
LDFLAGS+=-pg
endif
-ifeq ($(shell pkg-config --atleast-version=0.1.0 unibilium && echo 1),1)
- CFLAGS +=$(shell pkg-config --cflags unibilium) -DHAVE_UNIBILIUM
- LDFLAGS+=$(shell pkg-config --libs unibilium)
-else ifeq ($(shell pkg-config ncursesw && echo 1),1)
- CFLAGS +=$(shell pkg-config --cflags ncursesw)
- LDFLAGS+=$(shell pkg-config --libs ncursesw)
-else
- LDFLAGS+=-lncurses
-endif
+CFLAGS +=$(shell pkg-config --cflags ncursesw)
+LDFLAGS+=$(shell pkg-config --libs ncursesw)
OBJECTS=termkey.lo driver-csi.lo driver-ti.lo
LIBRARY=libtermkey.la
DEMOS=demo demo-async
-ifeq ($(shell pkg-config glib-2.0 && echo 1),1)
- DEMOS+=demo-glib
-endif
-
DEMO_OBJECTS=$(DEMOS:=.lo)
TESTSOURCES=$(wildcard t/[0-9]*.c)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/49882#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list