mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
Allow to build against contemporary versions of OpenSSL.
PR: 244473 (modified)
This commit is contained in:
parent
7fa17f420f
commit
e30e6bd319
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547156
@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libcares.so:dns/c-ares
|
||||
|
||||
USES= tar:bzip2
|
||||
USES= autoreconf tar:bzip2
|
||||
GNU_CONFIGURE= yes
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lcrypto
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
@ -39,14 +39,13 @@ SSL_USES= ssl
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${SSL_DEFAULT} == base
|
||||
BROKEN_FreeBSD_12= gnutls library not found. Install gnutls or use --with-openssl
|
||||
BROKEN_FreeBSD_13= gnutls library not found. Install gnutls or use --with-openssl
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|EUSER="ircproxy"|EUSER="ircproxyd"|g; \
|
||||
s|EGROUP="users"|EGROUP="ircproxyd"|g' ${WRKSRC}/data/${PORTNAME}d.conf
|
||||
.if ${OSVERSION} > 1200084
|
||||
@${REINPLACE_CMD} -e '/gnutls/!s,SSL_library_init,OPENSSL_init_ssl,' \
|
||||
${WRKSRC}/configure.in
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/imkpasswd ${STAGEDIR}${PREFIX}/bin/ircproxyd
|
||||
|
Loading…
Reference in New Issue
Block a user