SLOT="0"
KEYWORDS=""
-IUSE="debug doc examples +superserver xinetd"
-REQUIRED_USE="?? ( superserver xinetd )"
+IUSE="doc examples xinetd"
CDEPEND="
dev-libs/icu:=
!sys-cluster/ganglia
"
-RESTRICT="userpriv"
-
S="${WORKDIR}/${MY_P}"
# this is work in progress and likely does not build yet
filter-flags -fprefetch-loop-arrays
filter-mfpmath sse
+ # otherwise this doesnt build with gcc-6?
+ # http://tracker.firebirdsql.org/browse/CORE-5099
+ append-cflags -fno-sized-deallocation -fno-delete-null-pointer-checks
+ append-cxxflags -fno-sized-deallocation -fno-delete-null-pointer-checks -Wno-narrowing
+ # -std=c++11
+
econf \
--prefix=/usr/$(get_libdir)/firebird \
- $(use_enable superserver) \
- $(use_enable debug) \
--with-editline \
--with-system-editline \
- --with-system-icu \
--with-fbbin=/usr/bin \
--with-fbsbin=/usr/sbin \
--with-fbconf=/etc/${PN} \
}
src_install() {
- cd "gen/${PN}" || die
+ cd "gen/Release/${PN}" || die
if use doc; then
dodoc "${S}"/doc/*.pdf