mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-text/libodfgen: --with-sharedptr=c++11, drop eutils.eclass
No more boost dependency with std sharedptr Package-Manager: portage-2.3.0
This commit is contained in:
committed by
Andreas K. Hüttel
parent
a980c11470
commit
d58e1fa8b2
@@ -5,7 +5,6 @@
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/libodfgen"
|
||||
inherit eutils
|
||||
[[ ${PV} == 9999 ]] && inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="Library to generate ODF documents from libwpd and libwpg"
|
||||
@@ -24,13 +23,12 @@ RDEPEND="
|
||||
dev-libs/librevenge
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-libs/boost-1.46
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
default
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
@@ -38,12 +36,11 @@ src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-werror \
|
||||
--with-sharedptr=boost \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--with-sharedptr=c++11 \
|
||||
$(use_with doc docs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --all
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/libodfgen"
|
||||
inherit eutils
|
||||
[[ ${PV} == 9999 ]] && inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="Library to generate ODF documents from libwpd and libwpg"
|
||||
@@ -24,13 +23,12 @@ RDEPEND="
|
||||
dev-libs/librevenge
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-libs/boost-1.46
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
default
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
@@ -38,12 +36,11 @@ src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-werror \
|
||||
--with-sharedptr=boost \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--with-sharedptr=c++11 \
|
||||
$(use_with doc docs)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files --all
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user