aboutsummaryrefslogtreecommitdiff
path: root/cad/qcad
diff options
context:
space:
mode:
authorMichael Reifenberger <mr@FreeBSD.org>2004-02-12 13:55:54 +0000
committerMichael Reifenberger <mr@FreeBSD.org>2004-02-12 13:55:54 +0000
commit5cc2cd131a63ef71af71b518bb09662af41e9197 (patch)
tree9eb9576abeab34f7fab8a3243c7a32688bf0ef30 /cad/qcad
parent0d5e8b9b3947f702d264bbc721db89901c3c1660 (diff)
downloadports-5cc2cd131a63ef71af71b518bb09662af41e9197.tar.gz
ports-5cc2cd131a63ef71af71b518bb09662af41e9197.zip
add patch to compile qg_commandwidget.cpp under -stable
Submitted by: Oliver Lehmann <oliver@FreeBSD.org>
Notes
Notes: svn path=/head/; revision=100758
Diffstat (limited to 'cad/qcad')
-rw-r--r--cad/qcad/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index af0a848f8c54..742e74e44a5c 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -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