1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Fix build with new gnutls by using pkg-config instead of deprecated

gnutls-config.

Reported by:		QAT
This commit is contained in:
Roman Bogorodskiy 2009-08-19 16:24:49 +00:00
parent 6aaa1bf4cd
commit 90a48ed40a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239960

View File

@ -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}