summaryrefslogtreecommitdiff
path: root/cad/qcad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/qcad/Makefile')
-rw-r--r--cad/qcad/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index 6b97afb95b96..9c0f058e0656 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -27,17 +27,16 @@ USE_GMAKE= yes
PLIST= ${WRKDIR}/pkg-plist
MAKE_ENV= QTDIR="${QTDIR}" MAKE="${GMAKE}" \
QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"
+MAKE_JOBS_SAFE= yes
.include <bsd.port.pre.mk>
-.if ${ARCH} == "alpha"
-CFLAGS+= -O0
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's:RS_SYSTEM->getAppDir()+"/bin":"${PREFIX}/bin":' \
-e 's:RS_SYSTEM->getDocPath() + "/qcaddoc.adp":"${DOCSDIR}/qcaddoc.adp":' \
${WRKSRC}/qcad/src/qc_applicationwindow.cpp
+ ${REINPLACE_CMD} -e 's,MAKE=gmake,MAKE="gmake ${_MAKE_JOBS}",' \
+ ${WRKSRC}/scripts/build_qcad.sh
do-build:
cd ${WRKSRC}/scripts && ${SETENV} ${MAKE_ENV} bash ./build_qcad.sh notrans