Changeset 76566 for trunk/dports/gis


Ignore:
Timestamp:
Feb 28, 2011, 12:15:22 PM (9 years ago)
Author:
vince@…
Message:

Fixes a wrong scope in the post-configure phase.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/gdal-grass/Portfile

    r76526 r76566  
    3636                reinplace -E "s|^(LD_SHARED.*)|\\1 ${configure.universal_cxxflags}|" \
    3737                        ${worksrcpath}/Makefile
     38        }
    3839                       
    39                 # Fixes destroot issues
    40                 reinplace -E "s|^(GRASSTABLES_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
    41                         ${worksrcpath}/Makefile
    42                 reinplace -E "s|^(AUTOLOAD_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
    43                         ${worksrcpath}/Makefile
    44                 reinplace "s|mkdir|mkdir -p|" ${worksrcpath}/Makefile
    45         }
     40        # Fixes destroot issues
     41        reinplace -E "s|^(GRASSTABLES_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
     42                ${worksrcpath}/Makefile
     43        reinplace -E "s|^(AUTOLOAD_DIR\[^/]*)(.*)|\\1${destroot}\\2|" \
     44                ${worksrcpath}/Makefile
     45        reinplace "s|mkdir|mkdir -p|" ${worksrcpath}/Makefile
    4646}
    4747
Note: See TracChangeset for help on using the changeset viewer.