Ticket #20072: id3v2-cxx.diff
File id3v2-cxx.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
files/patch-Makefile.diff
1 --- Makefile 2004-05-04 13:33:53.000000000 -0500 2 +++ Makefile 2009-06-25 01:00:03.000000000 -0500 3 @@ -7,10 +7,10 @@ 4 LDFLAGS+= -L${PREFIX}/lib/ 5 6 id3v2: convert.o list.o id3v2.o genre.o 7 - c++ ${LDFLAGS} -pedantic -Wall -lz -lid3 -g -o $@ $^ 8 + $(CXX) ${LDFLAGS} -pedantic -Wall -lz -lid3 -g -o $@ $^ 9 10 create_map: create_map.o 11 - c++ -Wall -g -o $@ $^ 12 + $(CXX) -Wall -g -o $@ $^ 13 14 install: all 15 install -c -s id3v2 ${PREFIX}/bin/id3v2 -
Portfile
16 16 checksums md5 68afc3827cf01501dfb22949f901f1d8 17 17 depends_lib lib:libid3.3:id3lib 18 18 19 patchfiles patch-Makefile.diff 19 20 post-patch { 20 21 reinplace "s|/usr/local|${prefix}|g" "${worksrcpath}/Makefile" 21 22 } 22 23 23 configure {} 24 use_configure no 25 26 build.env CXX=${configure.cxx} 24 27 25 28 destroot { 26 29 xinstall -m 755 ${worksrcpath}/id3v2 ${destroot}/${prefix}/bin/