diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-12-04 09:47:27 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2004-12-04 09:47:27 +0000 |
commit | 403955523cb287018d5a39d14b824adf826c7a52 (patch) | |
tree | 24790a6dd021d66894f68317de6c08baa7e9ff40 /www/mozilla | |
parent | eba98ce530fc6892eb28e658358202fa1e021acd (diff) | |
download | ports-403955523cb287018d5a39d14b824adf826c7a52.tar.gz ports-403955523cb287018d5a39d14b824adf826c7a52.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
Notes
Notes:
svn path=/head/; revision=123091
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/Makefile | 3 | ||||
-rw-r--r-- | www/mozilla/pkg-install.in | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index d9fe00c9191f..16c8efd009cf 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -267,7 +267,8 @@ post-patch: s|mozilla-nspr|mozilla-nspr${MOZ_SUFX}${PKGNAMESUFFIX}|g' \ ${WRKSRC}/build/unix/$${pcfile}.pc.in; \ done - @${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g' \ + @${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g ; \ + s|%%PREFIX%%|${PREFIX}|g' \ < ${MASTERDIR}/pkg-install.in > ${PKGINSTALL} @${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g' \ < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL} diff --git a/www/mozilla/pkg-install.in b/www/mozilla/pkg-install.in index 3687532f1882..79a65c81189a 100644 --- a/www/mozilla/pkg-install.in +++ b/www/mozilla/pkg-install.in @@ -26,4 +26,8 @@ cd ${MOZDIR} || exit 1 ./run-mozilla.sh ${REGXPCOM} || true ./run-mozilla.sh ${REGCHROME} || true +if [ ! -d %%PREFIX%%/lib/browser_plugins ]; then + mkdir -p %%PREFIX%%/lib/browser_plugins +fi + exit 0 |