From: Claudio Jeker Subject: fix lumina build on sparc64 To: ports@openbsd.org Date: Tue, 27 Jan 2026 13:51:55 +0100 x11/lumina does not build on sparc64 because the configure scripts use the wrong compiler and fail. The problem is that the PATH variable does not include the ports bin dir with the compiler links. I came up with this diff which works for me. I guess the pre-configure hunk is not needed since it only uses sed. I'm a bit surprised that the PATH needs to be manually set like this. -- :wq Claudio Index: Makefile =================================================================== RCS file: /cvs/ports/x11/lumina/Makefile,v diff -u -p -r1.41 Makefile --- Makefile 14 Mar 2025 15:31:28 -0000 1.41 +++ Makefile 27 Jan 2026 12:47:38 -0000 @@ -42,11 +42,13 @@ FAKE_FLAGS= INSTALL_ROOT=${DESTDIR}/ NO_TEST= Yes pre-configure: + @PATH=${PORTPATH}; \ sed -i -e "s,!!LOCALBASE!!,${LOCALBASE}," \ -e "s,!!SYSCONFDIR!!,${SYSCONFDIR}," \ ${WRKSRC}/src-qt5/OS-detect.pri do-configure: + @PATH=${PORTPATH}; \ cd ${WRKSRC} && ${LOCALBASE}/bin/qmake-qt5 \ CONFIG+="configure WITH_I18N NO_XINPUT"