drop depend on dev-libs/boost
Closes: https://github.com/gentoo/gentoo/pull/6244
RDEPEND="
sys-libs/ncurses:0=[unicode]
- dev-libs/boost:=
"
DEPEND="
app-text/asciidoc
${RDEPEND}
"
-PATCHES=( "${FILESDIR}/${PN}-0_pre20170523-makefile.patch" )
-
pkg_setup() {
if [[ ${MERGE_TYPE} != binary ]]; then
if tc-is-gcc && ! version_is_at_least 5.0 $(gcc-version); then
fi
}
+src_prepare() {
+ default
+
+ sed -i -e '/CXXFLAGS += -O3/d' src/Makefile || \
+ die "Failed to patch makefile"
+}
+
src_configure() {
- append-cppflags $($(tc-getPKG_CONFIG) --cflags ncursesw)
- append-libs $($(tc-getPKG_CONFIG) --libs ncursesw)
tc-export CXX
export debug=$(usex debug)
export static=$(usex static)