diff --git a/graphics/qglviewer/Makefile b/graphics/qglviewer/Makefile index 474b9ea2a154..abe10f701f86 100644 --- a/graphics/qglviewer/Makefile +++ b/graphics/qglviewer/Makefile @@ -33,6 +33,10 @@ post-patch: @${REINPLACE_CMD} -e 's|^SUBDIRS =.*$$|SUBDIRS = src include|g ; \ s| install-pkgdocDATA||g' ${WRKSRC}/Makefile.in +pre-build: + -@${RM} ${WRKSRC}/src/QCameraKeyPathEditor.h + -@${RM} ${WRKSRC}/src/QLightSourceEditor.h + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR}