devel/thrift-cpp: remove QT4 option (Qt4 deprecation)

Approved by:	portmgr (implicit)
This commit is contained in:
Tobias C. Berner 2019-03-16 15:39:43 +00:00
parent e4a507340e
commit 6b8fd904a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=495886
2 changed files with 1 additions and 23 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= thrift
PORTVERSION= ${THRIFT_PORTVERSION} # to keep in sync with thrift
PORTREVISION= 5
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= APACHE/thrift/${PORTVERSION}
@ -29,13 +29,6 @@ USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
PLIST_SUB= PORTVERSION="${THRIFT_PORTVERSION}"
OPTIONS_DEFINE= QT4
QT4_CONFIGURE_WITH= qt4
QT4_USES= qt:4
QT4_USE= QT=network,moc_build,qmake_build,rcc_build,uic_build
OPTIONS_SUB= yes
CONFIGURE_ARGS+= \
--without-c_glib \
--with-cpp \
@ -54,13 +47,6 @@ CONFIGURE_ARGS+= \
LDFLAGS+= -L${OPENSSLLIB}
CFLAGS+= -I${OPENSSLINC}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MQT4}
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
.endif
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == clang
@ -73,8 +59,5 @@ post-install:
${LN} -sf libthriftnb-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libthriftnb.so.0
${LN} -sf libthriftz-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libthriftz.so.0
post-install-QT4-on:
${LN} -sf libthriftqt-${PORTVERSION}.so ${STAGEDIR}${PREFIX}/lib/libthriftqt.so.0
.include "../thrift/bsd.thrift.mk"
.include <bsd.port.post.mk>

View file

@ -94,15 +94,10 @@ lib/libthriftnb-%%PORTVERSION%%.so
lib/libthriftnb.a
lib/libthriftnb.so
lib/libthriftnb.so.0
%%QT4%%lib/libthriftqt-%%PORTVERSION%%.so
%%QT4%%lib/libthriftqt.a
%%QT4%%lib/libthriftqt.so
%%QT4%%lib/libthriftqt.so.0
lib/libthriftz-%%PORTVERSION%%.so
lib/libthriftz.a
lib/libthriftz.so
lib/libthriftz.so.0
libdata/pkgconfig/thrift-nb.pc
%%QT4%%libdata/pkgconfig/thrift-qt.pc
libdata/pkgconfig/thrift-z.pc
libdata/pkgconfig/thrift.pc