mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
devel/thrift-cpp:
- Unbreak Makefile when building with QT4 support. USE_QT4 cannot be set after bsd.port.pre.mk and requires inclusion of bsd.port.options.mk (when used with options). However converting to options helpers saves us from additional include. - Replace spaces with tab while here PR: 189127 Reported by: jrh29@alumni.cwru.edu Approved by: maintainer timeout (3 months from the date of report, I didn't wait approval for my patch) MFH: 2014Q3
This commit is contained in:
parent
8ee6d4276a
commit
b8a880926f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364589
@ -34,10 +34,11 @@ INSTALL_WRKSRC= ${WRKSRC}/lib/cpp
|
||||
|
||||
OPTIONS_DEFINE= QT4
|
||||
QT4_CONFIGURE_WITH= qt4
|
||||
QT4_USE= QT4=network,moc_build,qmake_build,rcc_build,uic_build
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
CONFIGURE_ARGS+= \
|
||||
CONFIGURE_ARGS+= \
|
||||
--without-c_glib \
|
||||
--with-cpp \
|
||||
--without-csharp \
|
||||
@ -56,10 +57,6 @@ CONFIGURE_ARGS+= \
|
||||
USE_CXXSTD= c++11
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MQT4}
|
||||
USE_QT4= network moc_build qmake_build rcc_build uic_build
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's,^pkgconfigdir = .*,pkgconfigdir=$${prefix}/libdata/pkgconfig,' ${WRKSRC}/lib/cpp/Makefile.am
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user