Ticket #37212: json-c_0.11.diff

File json-c_0.11.diff, 1.8 KB (added by tresni (Brian Hartvigsen), 11 years ago)

Updated with feedback from snc & ryandesign

  • Portfile

    diff -ru /Users/bhartvigsen/MacPorts/textproc/json-c/Portfile ./Portfile
    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 111882 2013-10-04 21:57:28Z ryandesign@macports.org $
     2# $Id$
    33
    44PortSystem          1.0
     5PortGroup           github 1.0
     6
     7github.setup        json-c json-c 0.11-20130402 json-c-
    58
    6 name                json-c
    79conflicts           jsoncpp
    8 version             0.9
    910license             MIT
    1011categories          textproc devel
    1112platforms           darwin
     
    1516                    you to easily construct JSON objects in C, output them as JSON \
    1617                    formatted strings and parse JSON formatted strings back into \
    1718                    the C representation of JSON objects.
    18 homepage            http://oss.metaparadigm.com/json-c/
    19 master_sites        ${homepage}
    2019
    21 checksums           md5 3a13d264528dcbaf3931b0cede24abae \
    22                     sha1 daaf5eb960fa98e137abc5012f569b83c79be90f \
    23                     rmd160 dec4fe76364cfee965291ac1526ee401d997e45e
     20checksums           sha256  996b22ff99be32df2053b660149e4e9f8bba258093a5427998f2602a79e8d952 \
     21                    rmd160  a7e5c7fff347a8d9d6234f7882e7c0f50b7c9bf5
     22
     23depends_build       port:autoconf \
     24                    port:automake \
     25                    port:libtool
     26
     27configure.args --disable-oldname-compat
     28use_parallel_build no
     29
     30variant compat description {Enable compatibility with old function names} {
     31    configure.args-replace --disable-oldname-compat --enable-oldname-compat 
     32}
     33
     34default_variants +compat