Ticket #43804: Portfile-girara.4.diff

File Portfile-girara.4.diff, 1.7 KB (added by harciga, 10 years ago)

diff against r120388

  • 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 120388 2014-05-26 17:08:22Z devans@macports.org $
     2# $Id: Portfile 120310 2014-05-22 21:36:17Z cal@macports.org $
    33
    44PortSystem          1.0
    55
     
    2626
    2727master_sites        ${homepage}download/
    2828
    29 checksums           \
    30     rmd160 e89c075c353548740ab9e3de1d8e6ccea61823f6 \
    31     sha256 d14b54cb04d81ba3b84ad41c5e68951d250b455d0862add1c987e3af9e2e174d
     29checksums           rmd160 e89c075c353548740ab9e3de1d8e6ccea61823f6 \
     30                    sha256 d14b54cb04d81ba3b84ad41c5e68951d250b455d0862add1c987e3af9e2e174d
    3231
    3332patchfiles          patch-Makefile.diff \
    3433                    patch-config.mk.diff
     
    5352
    5453variant universal   {}
    5554
     55platform darwin     {
     56# Before 10.7 there's no getline() in stdio.h
     57# http://stackoverflow.com/a/1117158/205907
     58    if {${os.major} < 11} {
     59# Using CVS project implementation
     60# http://www.opensource.apple.com/source/cvs/cvs-47/cvs/lib/getline.c?txt
     61# http://www.opensource.apple.com/source/cvs/cvs-47/cvs/lib/getline.h?txt
     62# http://www.opensource.apple.com/source/cvs/cvs-47/cvs/lib/getdelim.c?txt
     63# http://www.opensource.apple.com/source/cvs/cvs-47/cvs/lib/getdelim.h?txt
     64        patchfiles-append   patch-getline.h.diff \
     65                            patch-getline.c.diff \
     66                            patch-getdelim.h.diff \
     67                            patch-getdelim.c.diff
     68    }
     69}
     70
    5671build.args          PREFIX=${prefix}
    5772build.env           CC=${configure.cc} \
    5873                    CXX=${configure.cxx} \