[Midnightbsd-cvs] mports: sqlite.mk: After thinking about this for a minute, the if
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Jun 7 13:04:42 EDT 2009
Log Message:
-----------
After thinking about this for a minute, the if statements were reversered.
In the case where sqlite is defined as yes or 3, we want the dependancy added for 0.2.x and lower, but not current as it contains sqlite3.
In the case the port has an INVALID version, we want to error out as this is just wrong. The previous logic would only complain in the event it was set to an invalid number on an old version of midnightbsd. Since developers run current most often, this is silly.
One could argue we don't need the version check at all, but if we ever need to add more versions to mports it's nice to have the logic ready. (sqlite 2 or even 4 in the future?)
Modified Files:
--------------
mports/Mk/extensions:
sqlite.mk (r1.3 -> r1.4)
(http://cvsweb.midnightbsd.org/mports/Mk/extensions/sqlite.mk?r1=1.3&r2=1.4)
More information about the Midnightbsd-cvs
mailing list