Changeset 147859 for trunk


Ignore:
Timestamp:
Apr 19, 2016, 12:34:43 AM (4 years ago)
Author:
mcalhoun@…
Message:

nss: alway have NSS_VPATCH be a number; only affects future versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/nss/Portfile

    r147839 r147859  
    99set NSS_VMINOR      [lindex [split ${version} .] 1]
    1010set NSS_VPATCH      [lindex [split ${version} .] 2]
     11if {${NSS_VPATCH} eq ""} {
     12    # NSS_VPATCH should always be a number
     13    set NSS_VPATCH 0
     14}
    1115categories          net
    1216maintainers         nomaintainer
     
    106110livecheck.type    regex
    107111livecheck.url     http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/
    108 if {${NSS_VPATCH} eq ""} {
     112if {${NSS_VPATCH} eq 0} {
    109113    livecheck.version "${NSS_VMAJOR}_${NSS_VMINOR}"
    110114} else {
Note: See TracChangeset for help on using the changeset viewer.