[Bug 214538] sysutils/lnav: fails to build if databases/sqlite3 was built with ICU=on

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 16 06:13:31 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214538

--- Comment #3 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
Comment on attachment 177051
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=177051
Path to add ICU.

> +ICU_BUILD_DEPENDS=	${LOCALBASE}/bin/icu-config:devel/icu
> +ICU_LIB_DEPENDS=	libicudata.so:devel/icu

If the port depends on sqlite3 which is built against ICU then the latter is
always available.

> +ICU_CPPFLAGS=	`${LOCALBASE}/bin/icu-config --cppflags`

Would only be needed if sqlite3 leaks ICU API.

> +ICU_LDFLAGS=	`${LOCALBASE}/bin/icu-config --ldflags`

It would link against ICU dynamically. Maybe pass
CONFIGURE_ARGS=--disable-static instead. Static linking (or bundling) by
default is discouraged, anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list