Replace USE_OPENSSL with USES=ssl and bump portrevision for SSL changes.

This should have been part of the prior commit, oops.

PR:		216781
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9727
This commit is contained in:
Matthew Rezny 2017-02-22 19:51:08 +00:00
parent 6b5cc6c4c6
commit e1ef4baf60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434635

View File

@ -3,7 +3,7 @@
PORTNAME= network
DISTVERSION= ${QT4_VERSION}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net ipv6
PKGNAMEPREFIX= qt4-
@ -15,11 +15,11 @@ LICENSE_COMB= dual
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
USES= ssl
USE_QT4= qmake_build moc_build rcc_build corelib
QT_DIST= yes
HAS_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
USE_OPENSSL= yes
ALL_TARGET= first
CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
@ -55,7 +55,8 @@ post-configure:
-E -e 's|(.*location=).*uic|\1${PREFIX}/${QT_BINDIR_REL}/${UIC:T}|g' \
${WRKSRC}/lib/pkgconfig/QtNetwork.pc
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/src/network/ssl/qsslsocket_openssl.cpp \
${WRKSRC}/src/network/ssl/qsslsocket_openssl.cpp
${REINPLACE_CMD} -e 's|%%OPENSSLLIB%%|${OPENSSLLIB}|g' \
${WRKSRC}/src/network/ssl/qsslsocket_openssl_symbols.cpp
.include <bsd.port.mk>