Port audio/grip does not compile when "make WITH_CDPARANOIA=yes" is used Fix: I have supplied two fixes which have same net effect. First patch is tad strange, but passes "portlint -A". Second patch is "traditional" fix. ---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--- ---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--- How-To-Repeat: cd /usr/ports/audio/grip && make WITH_CDPARANOIA=yes all [ snip ] cdpar.c:47:33: cdda/cdda_interface.h: No such file or directory cdpar.c:48:32: cdda/cdda_paranoia.h: No such file or directory cdpar.c: In function `CDPCallback': [ snip ] gmake[2]: *** [cdpar.o] Error 1 gmake[2]: Leaving directory `/usr/ports/audio/grip/work/grip-3.1.4/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/audio/grip/work/grip-3.1.4' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/audio/grip.
Since USE_GNOME=gnomehack implies it, adding USE_REINPLACE=yes line is unnecessary in this case. I guess this patch should be the most simple solution. diff -urN /usr/ports/audio/grip/Makefile audio/grip/Makefile --- /usr/ports/audio/grip/Makefile Tue Jan 6 21:08:05 2004 +++ audio/grip/Makefile Tue Jan 6 21:11:43 2004 @@ -30,4 +30,7 @@ CONFIGURE_ARGS+= --disable-cdpar .endif +post-patch: + @${REINPLACE_CMD} -e 's|<cdda/cdda|<cdda|g' ${WRKSRC}/src/cdpar.c + .include <bsd.port.mk>
State Changed From-To: open->closed Committed, thanks!