Ticket #42152: Portfile-libbiosig.patch

File Portfile-libbiosig.patch, 917 bytes (added by neurodroid (Christoph Schmidt-Hieber), 11 years ago)

libbiosig Portfile patch using gettext to provide getline on SL

  • ./Portfile

     
    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 116018 2014-01-16 14:22:44Z mojca@macports.org $
     2# $Id$
    33
    44PortSystem          1.0
    55PortGroup           cmake 1.0
     
    3030                    port:gawk
    3131depends_lib         port:SuiteSparse \
    3232                    port:zlib
     33platform darwin 10 {
     34    depends_lib-append \
     35                    port:gettext
     36}
    3337
    3438# SuiteSparse support is off until the patch gets released
    3539configure.args      -DUSE_SUITESPARSE=ON \
     
    3842                    -DCMAKE_CXX_FLAGS=-DMACPORTS
    3943configure.ldflags-append \
    4044                    -lz -lcholmod
     45platform darwin 10 {
     46    configure.ldflags-append \
     47                    -lgettextlib
     48}