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 <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Mon Jun 28 17:07:28 2021 +0200
Changeset: 79a6bf7704d6f84f4d955777d075990a47dd8140
Modified Files:
qt5-qtwebengine/Makefile
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:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=79a6bf7704d6f84f4d955777d075990a47dd8140
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
qt5-qtwebengine/Makefile | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diffs:
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}
+PKGREVISION= 1
COMMENT= Chromium-based web engine for Qt5
MAKE_ENV+= QTDIR=${QTDIR}
@@ -55,12 +56,14 @@ pre-configure:
cd ${WRKSRC} && env -i ${MAKE_ENV} ${CHROMESRC}/build/linux/unbundle/replace_gn_files.py \
--system-libraries ${GN_SYSTEM_LIBS}
-
post-install:
.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}
.endfor
+.if ${OPSYS} == "NetBSD"
+ paxctl +m ${DESTDIR}${PREFIX}/qt5/libexec/QtWebEngineProcess
+.endif
.include "../../mk/bsd.prefs.mk"
@@ -106,10 +109,6 @@ BUILDLINK_TRANSFORM+= l:pci:pciutils
.include "../../x11/qt5-qtwebchannel/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
-
-
-
-
#.include "../../databases/sqlite3/buildlink3.mk"
#.include "../../fonts/woff2/buildlink3.mk"
#.include "../../textproc/hyphen/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index