Ticket #23580: patch-odcctools-159.diff
File patch-odcctools-159.diff, 1.3 KB (added by raimue (Rainer Müller), 15 years ago) |
---|
-
files/patch-extract.sh
1 --- extract.sh.orig 2009-09-13 11:24:01.000000000 -07002 +++ extract.sh 2009-09-13 11:24:14.000000000 -07003 @@ -44,11 +44,7 @@4 5 6 7 -if [ "`tar --help | grep -- --strip-components 2> /dev/null`" ]; then8 - TARSTRIP=--strip-components9 -else10 - TARSTRIP=--strip-path11 -fi12 +TARSTRIP=--strip-components13 14 PATCHFILESDIR=${TOPSRCDIR}/patches15 -
Portfile
4 4 PortSystem 1.0 5 5 6 6 name odcctools 7 version 20061117 7 version 159 8 epoch 1 8 9 categories devel 9 10 maintainers nomaintainer 10 11 homepage http://odcctools.macosforge.org/ … … 21 22 libraries. 22 23 23 24 fetch.type svn 24 svn.revision 15025 svn.revision ${version} 25 26 svn.url http://svn.macosforge.org/repository/${name}/trunk 26 27 27 28 worksrcdir trunk 28 29 29 pre-extract {30 system "patch -p0 -d ${worksrcpath} -i ${filespath}/patch-extract.sh"31 }32 33 30 set od_extract "" 34 31 extract { 35 32 system "cd ${worksrcpath} && ./extract.sh $od_extract"