From 47e3a327f5b0125649d3069107b93ecaaa5a9366 Mon Sep 17 00:00:00 2001 From: Tom Briden Date: Thu, 15 Oct 2020 12:16:02 +0100 Subject: [PATCH] trickle: fix build with newer glibc --- packages/net-misc/trickle/trickle.exlib | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/net-misc/trickle/trickle.exlib b/packages/net-misc/trickle/trickle.exlib index 48919b3a..9c4028c9 100644 --- a/packages/net-misc/trickle/trickle.exlib +++ b/packages/net-misc/trickle/trickle.exlib @@ -17,6 +17,7 @@ MYOPTIONS="" DEPENDENCIES=" build+run: dev-libs/libevent:= + net-libs/libtirpc " BUGS_TO="hasufell@posteo.de" @@ -27,3 +28,10 @@ DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/fix-install.patch ) +src_prepare(){ + CFLAGS+=" -I/usr/$(exhost --target)/include/tirpc" + LDFLAGS+=" -ltirpc" + + autotools_src_prepare +} +