diff options
Diffstat (limited to 'www/firefox15')
-rw-r--r-- | www/firefox15/Makefile | 1 | ||||
-rw-r--r-- | www/firefox15/pkg-install.in | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/www/firefox15/Makefile b/www/firefox15/Makefile index 4eb85744734b..83de1a8e522c 100644 --- a/www/firefox15/Makefile +++ b/www/firefox15/Makefile @@ -126,6 +126,7 @@ post-extract:: post-patch: @${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${FIREFOX}|g ; \ + s|%%PREFIX%%|${PREFIX}|g ; \ s|%%X11BASE%%|${X11BASE}|g' \ < ${MASTERDIR}/pkg-install.in > ${PKGINSTALL} @${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${FIREFOX}|g' \ diff --git a/www/firefox15/pkg-install.in b/www/firefox15/pkg-install.in index 8f8dbd0c6cc3..f25aa135197d 100644 --- a/www/firefox15/pkg-install.in +++ b/www/firefox15/pkg-install.in @@ -29,4 +29,8 @@ cd ${MOZDIR} || exit 1 ./run-mozilla.sh ${REGCHROME} || true ./run-mozilla.sh ${FIREFOX} -register > /dev/null 2>&1 +if [ ! -d %%PREFIX%%/lib/browser_plugins ]; then + mkdir -p %%PREFIX%%/lib/browser_plugins +fi + exit 0 |