Ticket #20790: boxes.diff
File boxes.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
files/patch-src-Makefile.diff
1 --- src/Makefile 2006-07-23 13:03:43.000000000 -0500 2 +++ src/Makefile 2009-08-24 02:12:20.000000000 -0500 3 @@ -85,7 +85,6 @@ 4 5 LEX = flex 6 YACC = bison 7 -CC = gcc 8 CFLAGS = -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL) 9 LDFLAGS = -Lregexp 10 -
Portfile
17 17 checksums md5 d2ef9fa28a87bf32b3fe0c47ab82fa97 18 18 use_configure no 19 19 20 patchfiles patch-src-Makefile.diff 21 20 22 variant emacs {} 21 23 22 24 pre-build { reinplace "s|GLOBALCONF = /usr/share/boxes|GLOBALCONF = ${prefix}/share/boxes|" "${worksrcpath}/Makefile" } 23 build { system "cd $worksrcpath && make" } 25 build.target 26 build.env CC=${configure.cc} 24 27 25 28 destroot { 26 29 xinstall -m 755 ${worksrcpath}/src/boxes ${destroot}${prefix}/bin/${name}