pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

qt5-qtwebengine: make QtWebEngineProcess work on NetBSD

Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <>
Pushed By:	wiz
Date:		Mon Jun 28 17:07:28 2021 +0200
Changeset:	79a6bf7704d6f84f4d955777d075990a47dd8140

Modified Files:

Log Message:
qt5-qtwebengine: make QtWebEngineProcess work on NetBSD

Mark QtWebEngineProcess as not-pax-mprotect-able.
This makes Sigil's HTML preview work.

Of course, it would be great to have the code fixed so
it does not need this.

To see a diff of this commit:;a=commitdiff;h=79a6bf7704d6f84f4d955777d075990a47dd8140

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 qt5-qtwebengine/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/qt5-qtwebengine/Makefile b/qt5-qtwebengine/Makefile
index 11bc2d0f3b..4f90d871bf 100644
--- a/qt5-qtwebengine/Makefile
+++ b/qt5-qtwebengine/Makefile
@@ -2,6 +2,7 @@
 DISTNAME=	qtwebengine-everywhere-src-${QTVERSION}
 PKGNAME=	qt5-qtwebengine-${QTVERSION}
 COMMENT=	Chromium-based web engine for Qt5
@@ -55,12 +56,14 @@ pre-configure:
 	cd ${WRKSRC} && env -i ${MAKE_ENV} ${CHROMESRC}/build/linux/unbundle/ \
 		--system-libraries ${GN_SYSTEM_LIBS}
 .for i in Qt5Pdf.pc Qt5PdfWidgets.pc Qt5WebEngine.pc Qt5WebEngineCore.pc Qt5WebEngineWidgets.pc
 	cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \
 	${LN} -f -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
+.if ${OPSYS} == "NetBSD"
+	paxctl +m ${DESTDIR}${PREFIX}/qt5/libexec/QtWebEngineProcess
 .include "../../mk/"
@@ -106,10 +109,6 @@ BUILDLINK_TRANSFORM+=   l:pci:pciutils
 .include "../../x11/qt5-qtwebchannel/"
 .include "../../mk/"
 #.include "../../databases/sqlite3/"
 #.include "../../fonts/woff2/"
 #.include "../../textproc/hyphen/"

Home | Main Index | Thread Index | Old Index