From 90a48ed40a4df6fad1de2d9e148dfdce681ec4fa Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Wed, 19 Aug 2009 16:24:49 +0000 Subject: [PATCH] Fix build with new gnutls by using pkg-config instead of deprecated gnutls-config. Reported by: QAT --- net-im/gloox/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net-im/gloox/Makefile b/net-im/gloox/Makefile index a7947c1d8b9b..bbbb210b8ff2 100644 --- a/net-im/gloox/Makefile +++ b/net-im/gloox/Makefile @@ -25,6 +25,8 @@ CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" USE_LDCONFIG= yes +post-patch: + @${REINPLACE_CMD} -e 's|libgnutls-config|pkg-config gnutls|' ${WRKSRC}/configure post-install: @${FIND} ${PREFIX}/include/gloox ! -type d | \ ${SED} "s,${PREFIX}/,," >> ${TMPPLIST}