Changeset 127113


Ignore:
Timestamp:
Oct 21, 2014, 1:56:51 PM (5 years ago)
Author:
vince@…
Message:

Bump to 4.2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/spatialite/Portfile

    r110502 r127113  
    55
    66name                spatialite
    7 version             4.1.1
    8 revision            0
     7version             4.2.0
     8#revision            0
    99categories          databases gis
    1010platforms           darwin
     
    2626distname            libspatialite-${version}
    2727
    28 checksums           rmd160  c0d0e5c18bb357bde1ab948e70c8cf2624b2f330 \
    29                     sha256  0481a20af952f4a38c9dbb10f37fd38c45f16c50397f8da0079e02435b9b910f
     28checksums           rmd160  db126a7f32d6c45080c77720681316305ab6722c \
     29                    sha256  9f138a6854740c7827fdee53845eb1485fce3e805a7aa9fc9151f8046ebd312d
    3030
    3131depends_build       port:pkgconfig
     
    4242                    --with-geos-lib=${prefix}/lib \
    4343                    --with-geos-incl=${prefix}/include
     44
     45post-configure {
     46    ui_msg "Patching makefiles…"
     47    set mkfiles [exec find ${worksrcpath} -name Makefile]
     48    foreach file ${mkfiles} {
     49        reinplace -E "s|^(AM_CPPFLAGS =.*)(-I${prefix}/include )(.*)$|\\1 \\3|" ${file}
     50        reinplace -E "s|^(gaiageo_la_CPPFLAGS =.*)(-I${prefix}/include )(.*)$|\\1 \\3|" ${file}
     51        reinplace -E "s|^(splite_la_CPPFLAGS =.*)(-I${prefix}/include )(.*)$|\\1 \\3|" ${file}
     52    }
     53    ui_msg "Done"
     54}
Note: See TracChangeset for help on using the changeset viewer.