Changeset 147839 for trunk


Ignore:
Timestamp:
Apr 17, 2016, 5:09:01 PM (4 years ago)
Author:
mcalhoun@…
Message:

nss: allow livecheck to work even without patch version

File:
1 edited

Legend:

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

    r147838 r147839  
    106106livecheck.type    regex
    107107livecheck.url     http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/
    108 livecheck.version "${NSS_VMAJOR}_${NSS_VMINOR}_${NSS_VPATCH}"
     108if {${NSS_VPATCH} eq ""} {
     109    livecheck.version "${NSS_VMAJOR}_${NSS_VMINOR}"
     110} else {
     111    livecheck.version "${NSS_VMAJOR}_${NSS_VMINOR}_${NSS_VPATCH}"
     112}
    109113livecheck.regex   {(\d+_\d+(?:_\d+)*)}
Note: See TracChangeset for help on using the changeset viewer.