mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Make configure detect newer gnutls libraries as well (non-default option)
Reported by: Raphael Becker
This commit is contained in:
parent
1f504e1a08
commit
2c67fe1e03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241082
1 changed files with 5 additions and 2 deletions
|
@ -69,8 +69,9 @@ CONFIGURE_ARGS+= --disable-xmpp --enable-ssl=openssl
|
||||||
.else
|
.else
|
||||||
CFLAGS+= -I${LOCALBASE}/include
|
CFLAGS+= -I${LOCALBASE}/include
|
||||||
CONFIGURE_ARGS+= --enable-xmpp --enable-ssl=gnutls \
|
CONFIGURE_ARGS+= --enable-xmpp --enable-ssl=gnutls \
|
||||||
--with-libgnutls-prefix=${LOCALBASE} \
|
|
||||||
--with-libgcrypt-prefix=${LOCALBASE}
|
--with-libgcrypt-prefix=${LOCALBASE}
|
||||||
|
CONFIGURE_ENV+= LIBGNUTLS_CONFIG="${LOCALBASE}/bin/pkg-config gnutls"
|
||||||
|
BUILD_DEPENDS+= pkg-config:${PORTSDIR}/devel/pkg-config
|
||||||
LIB_DEPENDS+= iksemel:${PORTSDIR}/textproc/iksemel \
|
LIB_DEPENDS+= iksemel:${PORTSDIR}/textproc/iksemel \
|
||||||
gnutls:${PORTSDIR}/security/gnutls \
|
gnutls:${PORTSDIR}/security/gnutls \
|
||||||
gcrypt:${PORTSDIR}/security/libgcrypt \
|
gcrypt:${PORTSDIR}/security/libgcrypt \
|
||||||
|
@ -79,7 +80,9 @@ LIB_DEPENDS+= iksemel:${PORTSDIR}/textproc/iksemel \
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/ doc//' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/ doc//' ${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} -e '/ac_lib/s/tcl8\./tcl8/g' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e '/ac_lib/s/tcl8\./tcl8/g' \
|
||||||
|
-e '/libgnutls_config_version=/s/--version/--modversion/' \
|
||||||
|
${WRKSRC}/configure
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_MAN} ${WRKSRC}/doc/climm.1 ${MANPREFIX}/man/man1
|
${INSTALL_MAN} ${WRKSRC}/doc/climm.1 ${MANPREFIX}/man/man1
|
||||||
|
|
Loading…
Add table
Reference in a new issue