[SVN-Commit] r1388 - trunk/www/linux-seamonkey
svn-freebsd-gecko at chruetertee.ch
svn-freebsd-gecko at chruetertee.ch
Sat Nov 16 08:41:23 UTC 2013
Author: jbeich
Date: Sat Nov 16 08:41:08 2013
New Revision: 1388
Log:
linux plugin-container actually works, but not with crashreporter
Modified:
trunk/www/linux-seamonkey/Makefile.common
Modified: trunk/www/linux-seamonkey/Makefile.common
==============================================================================
--- trunk/www/linux-seamonkey/Makefile.common Sat Nov 16 06:00:00 2013 (r1387)
+++ trunk/www/linux-seamonkey/Makefile.common Sat Nov 16 08:41:08 2013 (r1388)
@@ -24,6 +24,8 @@
FDIR= ${PREFIX}/lib/${APP_NAME}
COMMON_DIR= ${.CURDIR}/../../www/linux-seamonkey
+GECKO_ENV+= MOZ_CRASHREPORTER_DISABLE=1
+
PLIST_SUB+= APP_NAME=${APP_NAME}
SUB_LIST+= APP_NAME=${APP_NAME}
SUB_FILES= ${APP_NAME}.desktop
@@ -74,8 +76,8 @@
post-patch:
@${MKDIR} ${PREFS_FILE:H}
- # out-of-process plugins don't work with linuxulator (ports/170402)
- ${ECHO} 'pref("dom.ipc.plugins.enabled", false);' >> ${PREFS_FILE}
+ # empty port preferences
+ @${DO_NADA} >>${PREFS_FILE}
.endif
.if !target(do-install)
@@ -83,7 +85,9 @@
@${INSTALL_DATA} ${WRKDIR}/${APP_NAME}.desktop ${PREFIX}/share/applications/
@${CP} -pR ${WRKSRC}/ ${FDIR}/
@${CHOWN} -R ${BINOWN}:${BINGRP} ${FDIR}/
- @${LN} -sf ${FDIR}/${BIN_NAME} ${PREFIX}/bin/${APP_NAME}
+ @${PRINTF} '#! /bin/sh\n${GECKO_ENV} ${FDIR}/${BIN_NAME} "$$@"\n' \
+ >>${PREFIX}/bin/${APP_NAME}
+ @${CHMOD} +x ${PREFIX}/bin/${APP_NAME}
@${CP} -R ${LOCALBASE}/lib/browser_plugins/symlinks/${APP_NAME}/ \
${FDIR}/${APP_SUBDIR}plugins/ ${_Q}
@${CP} -R ${LOCALBASE}/lib/xpi/symlinks/${APP_NAME}/ \
More information about the freebsd-gecko
mailing list