diff options
author | marcus <marcus@FreeBSD.org> | 2004-12-04 17:47:27 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-12-04 17:47:27 +0800 |
commit | a433f771d4d31172183d7d4b8096454c468d8c3a (patch) | |
tree | 3eb0debfca57cdf4a2ee4b78a5efe87133e1098a /www/firefox-esr | |
parent | 821e2d66452a29adfce36f5a46a6e2df486aa0b9 (diff) | |
download | freebsd-ports-graphics-a433f771d4d31172183d7d4b8096454c468d8c3a.tar.gz freebsd-ports-graphics-a433f771d4d31172183d7d4b8096454c468d8c3a.tar.zst freebsd-ports-graphics-a433f771d4d31172183d7d4b8096454c468d8c3a.zip |
Be sure to create the browser_plugins during package install as well. Some
ports (e.g. www/ump) depend on this directory being there.
Reported by: pointyhat via kris
Diffstat (limited to 'www/firefox-esr')
-rw-r--r-- | www/firefox-esr/Makefile | 1 | ||||
-rw-r--r-- | www/firefox-esr/pkg-install.in | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile index 4eb85744734..83de1a8e522 100644 --- a/www/firefox-esr/Makefile +++ b/www/firefox-esr/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/firefox-esr/pkg-install.in b/www/firefox-esr/pkg-install.in index 8f8dbd0c6cc..f25aa135197 100644 --- a/www/firefox-esr/pkg-install.in +++ b/www/firefox-esr/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 |