mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
dev-util/cppunit: Fixed build with sys-devel/slibtool
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic multilib-minimal
|
||||
inherit autotools flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="C++ port of the famous JUnit framework for unit testing"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/cppunit"
|
||||
if [[ "${PV}" == *9999 ]] ; then
|
||||
inherit autotools git-r3
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/cppunit.git"
|
||||
else
|
||||
SRC_URI="https://dev-www.libreoffice.org/src/${P}.tar.gz"
|
||||
@@ -30,9 +30,13 @@ BDEPEND="
|
||||
DOCS=( AUTHORS BUGS NEWS README THANKS TODO doc/FAQ )
|
||||
[[ "${PV}" == 9999 ]] || DOCS+=( ChangeLog )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.15.1-slibtool.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ "${PV}" == 9999 ]] && eautoreconf
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
This fixes build with sys-devel/slibtool
|
||||
|
||||
--- cppunit-1.15.1/src/cppunit/Makefile.am
|
||||
+++ cppunit-1.15.1/src/cppunit/Makefile.am
|
||||
@@ -62,6 +62,6 @@
|
||||
|
||||
libcppunit_la_LDFLAGS= \
|
||||
-no-undefined -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
|
||||
- -release $(LT_RELEASE) $(LIBADD_DL)
|
||||
+ $(LIBADD_DL)
|
||||
|
||||
libcppunit_la_LIBADD = $(LIBADD_DL)
|
||||
Reference in New Issue
Block a user