Ticket #29847: nawk-20110810.diff
File nawk-20110810.diff, 1.9 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
files/patch-makefile
1 --- makefile.orig 20 09-04-21 23:56:03.000000000 -07002 +++ makefile 20 09-04-21 23:56:05.000000000 -07001 --- makefile.orig 2011-06-11 09:13:08.000000000 -0500 2 +++ makefile 2011-08-12 18:53:56.000000000 -0500 3 3 @@ -25,12 +25,14 @@ 4 4 CFLAGS = -g 5 5 CFLAGS = -O2 … … 10 10 CC = cc 11 11 CC = gcc -Wall -g -Wwrite-strings 12 12 CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov 13 CC = gcc -O4 13 CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing 14 14 +CC = __CC__ -Wall -g 15 15 16 16 YACC = bison -y -
Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 name nawk 5 version 20110 5066 version 20110810 6 7 categories lang 7 8 maintainers toby 8 9 description the one true awk … … 12 13 13 14 master_sites ${homepage} 14 15 distname awk 15 checksums md5 4d2b1002db5979a2f3a578e11b7d2fb3 \ 16 sha1 567eb99d30337cb323bee39284527cecd3d45b02 \ 17 rmd160 b9286a65f6f1887ede837e2b6328c13bfc327fa3 16 17 checksums sha1 333d93c746aa16e33c5c4aaf505009914cea4770 \ 18 rmd160 0c8536e9d2212b05f77b9939a6d386dd819aaa66 19 18 20 dist_subdir ${name}/${version} 19 21 20 22 extract.mkdir yes … … 22 24 patchfiles patch-makefile patch-run.c 23 25 24 26 configure { 25 reinplace s|__CFLAGS__| ${configure.cflags}| ${worksrcpath}/makefile27 reinplace s|__CFLAGS__|[get_canonical_archflags]| ${worksrcpath}/makefile 26 28 reinplace s|__CC__|${configure.cc}| ${worksrcpath}/makefile 27 29 } 28 30 … … 34 36 } 35 37 36 38 livecheck.type md5 37 livecheck.md5 f794a7e47760bdacf89ed769c678980539 livecheck.md5 d570dfc1f684c4e4dfadcb33469011ad