Changeset 119779 for trunk/dports/gis


Ignore:
Timestamp:
May 6, 2014, 6:51:19 PM (5 years ago)
Author:
pixilla@…
Message:

gis/terra:

  • Remove hardcoded prefix from patchfile.
  • Use ${configure.cc}, ${configure.cxx} and ${configure.optflags} instead of hardcoding.
  • Closes #43585
Location:
trunk/dports/gis/terra
Files:
2 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/terra/Portfile

    r119764 r119779  
    66name                terra
    77version             0.7
     8revision            1
    89
    910categories          gis science
     
    2829
    2930depends_lib         port:freeglut
    30 depends_build-append  port:freeglut
    3131
    3232worksrcdir          ${name}
    3333patch.pre_args      -p1
    34 patchfiles          terra.patches
     34patchfiles          patch-compiler.diff patch-opengl.diff
     35
     36post-patch {
     37    reinplace -E "s,@CC@,${configure.cc},g" ${worksrcpath}/Makefile
     38    reinplace -E "s,@CXX@,${configure.cxx},g" ${worksrcpath}/Makefile
     39    reinplace -E "s,@OPTFLAGS@,${configure.optflags},g" ${worksrcpath}/Makefile
     40    reinplace -E "s,@PREFIX@,${prefix},g" ${worksrcpath}/Makefile
     41}
     42
    3543use_configure       no
    3644
Note: See TracChangeset for help on using the changeset viewer.