Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2016 06:13:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214538] sysutils/lnav: fails to build if databases/sqlite3 was built with ICU=on
Message-ID:  <bug-214538-13-cxd20RQ2dr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214538-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214538-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214538

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

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

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

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

Would only be needed if sqlite3 leaks ICU API.

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214538-13-cxd20RQ2dr>