Ignore:
Timestamp:
Sep 15, 2010, 8:26:12 PM (9 years ago)
Author:
ryandesign@…
Message:

In the interest that all portfiles exemplify correct portfile writing techniques, remove slash before ${prefix} which is not needed because ${prefix} already begins with a slash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/i960-rtems-gcc/Portfile

    r69904 r71533  
    7272build.dir       ${workpath}/build
    7373destroot.args   \
    74         --with-gxx-include-dir=${destroot}/${prefix}/${crossgcc-target}/include/c++/${version}/
     74        --with-gxx-include-dir=${destroot}${prefix}/${crossgcc-target}/include/c++/${version}/
    7575
    7676# Since we don't build gcc and binutils at the same time, gcc's Makefile will try to transform
     
    181181
    182182        # aliases for locales (should be on the system)
    183         file delete "${destroot}/${prefix}/share/locale/locale.alias"
     183        file delete "${destroot}${prefix}/share/locale/locale.alias"
    184184       
    185185        # FSF propaganda (should already be there or would conflict)
    186         file delete -force "${destroot}/${prefix}/share/man/man7"
     186        file delete -force "${destroot}${prefix}/share/man/man7"
    187187
    188188        # (host) libiberty
    189         file delete "${destroot}/${prefix}/lib/libiberty.a"
     189        file delete "${destroot}${prefix}/lib/libiberty.a"
    190190
    191191        # aliases for charsets (should already be there)
    192         file delete "${destroot}/${prefix}/lib/charset.alias"
     192        file delete "${destroot}${prefix}/lib/charset.alias"
    193193       
    194194        # For some reason, some man pages are not prefixed while they should have been
    195195        # (to avoid conflicting).
    196         file rename "${destroot}/${prefix}/share/man/man1/cpp.1" \
    197                 "${destroot}/${prefix}/share/man/man1/${crossgcc-target}-cpp.1"
    198         file rename "${destroot}/${prefix}/share/man/man1/gcov.1" \
    199                 "${destroot}/${prefix}/share/man/man1/${crossgcc-target}-gcov.1"
     196        file rename "${destroot}${prefix}/share/man/man1/cpp.1" \
     197                "${destroot}${prefix}/share/man/man1/${crossgcc-target}-cpp.1"
     198        file rename "${destroot}${prefix}/share/man/man1/gcov.1" \
     199                "${destroot}${prefix}/share/man/man1/${crossgcc-target}-gcov.1"
    200200}
    201201
Note: See TracChangeset for help on using the changeset viewer.