aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2009-08-19 16:24:49 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2009-08-19 16:24:49 +0000
commit90a48ed40a4df6fad1de2d9e148dfdce681ec4fa (patch)
tree3d62f4753182a250693ad6c9fef8ca1eff6759b3
parent6aaa1bf4cd0edd9ab8cb1b04b3111339babbc3c6 (diff)
downloadports-90a48ed40a4df6fad1de2d9e148dfdce681ec4fa.tar.gz
ports-90a48ed40a4df6fad1de2d9e148dfdce681ec4fa.zip
Fix build with new gnutls by using pkg-config instead of deprecated
gnutls-config. Reported by: QAT
Notes
Notes: svn path=/head/; revision=239960
-rw-r--r--net-im/gloox/Makefile2
1 files changed, 2 insertions, 0 deletions
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}