| Summary: | All three mozilla ports fail to install if ${PREFIX}/lib/browser_plugins directory exists | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Esa Karkkainen <ejk> | ||||||||
| Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> | ||||||||
| Status: | Closed FIXED | ||||||||||
| Severity: | Affects Only Me | CC: | ejk | ||||||||
| Priority: | Normal | ||||||||||
| Version: | Latest | ||||||||||
| Hardware: | Any | ||||||||||
| OS: | Any | ||||||||||
| Attachments: |
|
||||||||||
Responsible Changed From-To: freebsd-ports->gnome OVer to maintainers. State Changed From-To: open->closed Fixed using if blocks. I swear, I'm cursed to make stupid mistakes with this port. |
Mozilla ports check if "${PREFIX}/lib/browser_plugins" directory does not exist. If the "browser_plugins" does exist the test used returns "1" as error code and "make install" will fail. Fix: These three patches show one way of fixing this problem. How-To-Repeat: # mkdir -p /usr/X11R6/lib/browser_plugins # cd /usr/ports/www/mozilla # make install [time passes] /bin/mkdir -p /usr/X11R6/lib/mozilla /bin/chmod 755 /usr/X11R6/lib/mozilla cd /usr/ports/www/mozilla/work/mozilla/dist/bin && /usr/bin/find . | cpio -pdm -L -R root:wheel /usr/X11R6/lib/mozilla 71851 blocks install -c -o root -g wheel -m 555 /usr/ports/www/mozilla/work/mozilla/mozilla /usr/X11R6/bin test ! -d /usr/X11R6/lib/browser_plugins && /bin/mkdir -p /usr/X11R6/lib/browser_plugins *** Error code 1 Stop in /usr/ports/www/mozilla. *** Error code 1