Changeset 27782


Ignore:
Timestamp:
Aug 14, 2007, 7:52:09 AM (10 years ago)
Author:
ryandesign@…
Message:

gettext: only attempt to delete charset.alias and locale.alias if they exist. This apparently fixes the build on Linux. See #12445.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/gettext/Portfile

    r27576 r27782  
    5454
    5555post-destroot {
    56         delete ${destroot}${prefix}/lib/charset.alias \
    57                 ${destroot}${prefix}/share/locale/locale.alias
     56        if {[file exists ${destroot}${prefix}/lib/charset.alias]} {
     57                delete ${destroot}${prefix}/lib/charset.alias
     58        }
     59        if {[file exists ${destroot}${prefix}/share/locale/locale.alias]} {
     60                delete ${destroot}${prefix}/share/locale/locale.alias
     61        }
    5862}
    5963
Note: See TracChangeset for help on using the changeset viewer.