git: 1edbeefa02b8 - main - editors/lazarus[qt5|qt6]: Fix build on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jun 2026 00:45:56 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1edbeefa02b8180e91f80d880ad0bf57c556ae32
commit 1edbeefa02b8180e91f80d880ad0bf57c556ae32
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2026-06-23 00:45:07 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2026-06-23 00:45:07 +0000
editors/lazarus[qt5|qt6]: Fix build on aarch64
---
editors/lazarus/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/editors/lazarus/Makefile b/editors/lazarus/Makefile
index bfb56641bf42..cfe3dd389ebd 100644
--- a/editors/lazarus/Makefile
+++ b/editors/lazarus/Makefile
@@ -71,6 +71,9 @@ post-extract:
@${RM} ${WRKSRC}/.git*
post-patch:
+.if ${ARCH} == "aarch64"
+ @${REINPLACE_CMD} -e 's|Scale(Pen.Width)|Self.Scale(Pen.Width)|g' ${WRKSRC}/components/tachart/tadrawercanvas.pas
+.endif
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's|startlazarus|${PORTNAME}|g' ${WRKSRC}/install/${PORTNAME}.desktop
@${REINPLACE_CMD} \