1
0
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:
Max Brazhnikov 2014-08-11 06:45:42 +00:00
parent 8ee6d4276a
commit b8a880926f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364589

View File

@ -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