Ticket #29847: nawk.diff
File nawk.diff, 1.9 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
files/patch-run.c
1 --- run.c.orig Tue Dec 28 23:53:45 20042 +++ run.c Tue Dec 28 23:53:57 20043 @@ -90 2,7 +902,7 @@1 --- run.c.orig 2011-04-30 15:09:59.000000000 -0500 2 +++ run.c 2011-06-16 02:18:23.000000000 -0500 3 @@ -903,7 +903,7 @@ 4 4 break; 5 5 case 'f': sprintf(p, fmt, getfval(x)); break; 6 6 case 'd': sprintf(p, fmt, (long) getfval(x)); break; -
Portfile
2 2 3 3 PortSystem 1.0 4 4 name nawk 5 version 201 005235 version 20110506 6 6 categories lang 7 7 maintainers toby 8 8 description the one true awk … … 12 12 13 13 master_sites ${homepage} 14 14 distname awk 15 checksums md5 aca604d1b4c5429f089ecea59422f4dd \ 16 sha1 f351df8a98ce8df47b04aa16b86730cd8faf7d91 \ 17 rmd160 9e83954c7bd11c198b53955fec3a3d092ed8fb3d 15 16 checksums sha1 567eb99d30337cb323bee39284527cecd3d45b02 \ 17 rmd160 b9286a65f6f1887ede837e2b6328c13bfc327fa3 18 18 19 dist_subdir ${name}/${version} 19 20 20 21 extract.mkdir yes 21 22 22 23 patchfiles patch-makefile patch-run.c 23 24 25 variant universal {} 26 if {[variant_isset universal]} { 27 set archflags ${configure.universal_cflags} 28 } else { 29 set archflags ${configure.cc_archflags} 30 } 31 24 32 configure { 25 reinplace s|__CFLAGS__|${configure.cflags}|${worksrcpath}/makefile33 reinplace "s|__CFLAGS__|${configure.cflags} ${archflags}|" ${worksrcpath}/makefile 26 34 reinplace s|__CC__|${configure.cc}| ${worksrcpath}/makefile 27 35 } 28 36 … … 34 42 } 35 43 36 44 livecheck.type md5 37 livecheck.md5 f794a7e47760bdacf89ed769c678980545 livecheck.md5 42e6591aeb30836c651c75a4ac849ef1