Ticket #23188: libqalculate_Portfile.diff

File libqalculate_Portfile.diff, 1.1 KB (added by jjstickel@…, 14 years ago)
  • math/libqalculate/Portfile

    old new  
    44PortSystem 1.0
    55
    66name            libqalculate
    7 version         0.9.6
     7version         0.9.7
    88categories      math
    99platforms       darwin
    1010maintainers     vcn.com:jjstickel
     
    2121
    2222homepage        http://qalculate.sourceforge.net/
    2323master_sites    sourceforge:qalculate
    24 checksums       md5 e14432fc490f9a697e23e31a74e0eb19
     24
     25checksums           md5     a1507ab862f4ad9852788619aada35cd \
     26                    sha1    c15f7f3a97995decf62cc964956fc1e374ecd78c \
     27                    rmd160  cc9e198769bea9731f92d2f3836875c83f715674
     28
     29depends_build port:p5-xml-parser
    2530
    2631depends_lib     port:cln\
    27                 port:libxml2\
    28                 path:lib/pkgconfig/glib-2.0.pc:glib2\
    29                 lib:libreadline:readline
     32    port:libxml2\
     33    path:lib/pkgconfig/glib-2.0.pc:glib2\
     34    port:readline
    3035
    3136use_parallel_build      yes
    3237
    33 patchfiles      patch-libqalculate-0.9.6_macports.diff
    34 patch.pre_args  -p1
    35 
    36 use_autoconf    yes
     38patch {
     39    reinplace "s|<malloc.h>|<malloc/malloc.h>|" ${worksrcpath}/src/qalc.cc
     40}