add patch to compile qg_commandwidget.cpp under -stable
Submitted by: Oliver Lehmann <oliver@FreeBSD.org>
This commit is contained in:
parent
0d5e8b9b39
commit
5cc2cd131a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100758
1 changed files with 5 additions and 7 deletions
|
@ -32,13 +32,11 @@ MAKE_ENV= QTDIR="${QTDIR}" MAKE="${GMAKE}" \
|
|||
CFLAGS+= -O0
|
||||
.endif
|
||||
|
||||
#post-patch:
|
||||
# @${REINPLACE_CMD} -e 's|warn_on|warn_on thread|g' ${WRKSRC}/qcad.pro
|
||||
# @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/rprgdef.h
|
||||
|
||||
#do-configure:
|
||||
# @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
|
||||
# -spec ${X11BASE}/share/qt/mkspecs/freebsd-g++ qcad.pro
|
||||
post-patch:
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} -e 's|streambuf<|streambuf\.h<|g' \
|
||||
${WRKSRC}/qcadguiqt/src/ui/qg_commandwidget.ui
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}/scripts && ${SETENV} ${MAKE_ENV} ${SH} ./build_qcad.sh
|
||||
|
|
Loading…
Reference in a new issue