Ticket #23580: patch-odcctools-159.diff

File patch-odcctools-159.diff, 1.3 KB (added by raimue (Rainer Müller), 14 years ago)
  • files/patch-extract.sh

     
    1 --- extract.sh.orig     2009-09-13 11:24:01.000000000 -0700
    2 +++ extract.sh  2009-09-13 11:24:14.000000000 -0700
    3 @@ -44,11 +44,7 @@
    4  
    5  
    6  
    7 -if [ "`tar --help | grep -- --strip-components 2> /dev/null`" ]; then
    8 -    TARSTRIP=--strip-components
    9 -else
    10 -    TARSTRIP=--strip-path
    11 -fi
    12 +TARSTRIP=--strip-components
    13  
    14  PATCHFILESDIR=${TOPSRCDIR}/patches
    15  
  • Portfile

     
    44PortSystem 1.0
    55
    66name            odcctools
    7 version         20061117
     7version         159
     8epoch           1
    89categories      devel
    910maintainers     nomaintainer
    1011homepage        http://odcctools.macosforge.org/
     
    2122    libraries.
    2223
    2324fetch.type      svn
    24 svn.revision    150
     25svn.revision    ${version}
    2526svn.url         http://svn.macosforge.org/repository/${name}/trunk
    2627
    2728worksrcdir      trunk
    2829
    29 pre-extract {
    30     system "patch -p0 -d ${worksrcpath} -i ${filespath}/patch-extract.sh"
    31 }
    32 
    3330set od_extract  ""
    3431extract {
    3532    system "cd ${worksrcpath} && ./extract.sh $od_extract"