summaryrefslogtreecommitdiff
path: root/dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild')
-rw-r--r--dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild b/dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild
index b5226f546288..7c0ba929cee4 100644
--- a/dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild
+++ b/dev-libs/protobuf-c/protobuf-c-1.3.1.ebuild
@@ -18,12 +18,17 @@ SLOT="0/1.0.0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86"
IUSE="static-libs test"
-RDEPEND=">=dev-libs/protobuf-2.6.0:0=[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
+BDEPEND="dev-libs/protobuf:0
virtual/pkgconfig[${MULTILIB_USEDEP}]"
+DEPEND="dev-libs/protobuf:0=[${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.3.1-protobuf-3.7.patch"
+)
+
src_prepare() {
default
if ! use test; then