|
Lines 1025-1030
Link Here
|
| 1025 |
incorrectly treated as a newer version since 20000801 is a |
1025 |
incorrectly treated as a newer version since 20000801 is a |
| 1026 |
numerically greater value than 1).</para> |
1026 |
numerically greater value than 1).</para> |
| 1027 |
|
1027 |
|
|
|
1028 |
<tip> |
| 1029 |
<para>In some cases comparing versions is not that |
| 1030 |
straightforward and &man.pkg.version.1; could be helpful |
| 1031 |
to test a pair of version number strings. For example: |
| 1032 |
</para> |
| 1033 |
|
| 1034 |
<screen>&prompt.root; <userinput>pkg_version -t 0.031 0.29</userinput></screen> |
| 1035 |
|
| 1036 |
<para>indicates that version 0.031 is to be considered |
| 1037 |
greater than version 0.29, which is not obvious at |
| 1038 |
first.</para> |
| 1039 |
</tip> |
| 1040 |
|
| 1028 |
<para>In situations such as this, the |
1041 |
<para>In situations such as this, the |
| 1029 |
<makevar>PORTEPOCH</makevar> version should be increased. |
1042 |
<makevar>PORTEPOCH</makevar> version should be increased. |
| 1030 |
If <makevar>PORTEPOCH</makevar> is nonzero it is appended |
1043 |
If <makevar>PORTEPOCH</makevar> is nonzero it is appended |