Bug 168091 - Mk/bsd.gecko.mk error: USE_FIREFOX doesn't work correctly
Summary: Mk/bsd.gecko.mk error: USE_FIREFOX doesn't work correctly
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-18 05:40 UTC by Douglas Thrift
Modified: 2019-01-18 09:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Thrift 2012-05-18 05:40:01 UTC
I was working on updating my port www/py-selenium and when I went to make the distinfo for the new distfile, I got the following:

===>  py27-selenium-2.21.3 cannot install: unknown Firefox version: firefox-3.6+.
*** Error code 1

Stop in /home/douglas/freebsd/www/py-selenium.
*** Error code 1

Stop in /home/douglas/freebsd/www/py-selenium.


I looked at /usr/ports/Mk/bsd.gecko.mk and discovered that the value 36+ was no
longer listed, so much for backward compatibility with ports, but fair enough.
Based on this I changed the value of USE_FIREFOX to 10+, but that didn't make
things any better:

===>  py27-selenium-2.21.3 cannot install: Firefox versions mismatch: firefox-12 is installed and wanted version is firefox-10+.
*** Error code 1

Stop in /home/douglas/freebsd/www/py-selenium.
*** Error code 1

Stop in /home/douglas/freebsd/www/py-selenium.


That definitely doesn't seem right! I tried 12 and 12+ and they both worked
okay, but the port should also support the Firefox 10 line. It looks like my
port is the only one so far to even use the + functionality so I guess I
shouldn't be surprised by this.

I'm also a bit puzzled at the choice of 10 rather than 10+ for USE_FIREFOX= yes.

How-To-Repeat: Write a port with USE_FIREFOX set to 10+ and try to build it on a system with
Firefox 12 installed.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2012-05-18 06:56:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gecko

Fix synopsis and assign.
Comment 2 Tobias Kortkamp freebsd_committer freebsd_triage 2019-01-18 09:16:56 UTC
There is no USE_FIREFOX anymore and Firefox 10 or 12 are long gone.