diff --git a/audio/cutmp3/Makefile b/audio/cutmp3/Makefile index c35eabef1ad4..66a0f642889f 100644 --- a/audio/cutmp3/Makefile +++ b/audio/cutmp3/Makefile @@ -18,9 +18,6 @@ PORTDOCS= README README.timetable USAGE OPTIONS_DEFINE= DOCS -post-patch: - @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile - post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} diff --git a/audio/cutmp3/files/patch-Makefile b/audio/cutmp3/files/patch-Makefile index 5fe1226f406d..8fb860c58088 100644 --- a/audio/cutmp3/files/patch-Makefile +++ b/audio/cutmp3/files/patch-Makefile @@ -17,9 +17,9 @@ - gcc -O ${CFLAGS} -c mpglib.c - gcc -O ${CFLAGS} -c main.c - gcc main.o mpglib.o -o ${NAME} -lm -lreadline -lncurses -+ cc -O ${CFLAGS} -c mpglib.c -+ cc -O ${CFLAGS} -c main.c -+ cc main.o mpglib.o -o ${NAME} -lm -lreadline -lncurses ++ ${CC} ${CFLAGS} ${CPPFLAGS} -c mpglib.c ++ ${CC} ${CFLAGS} ${CPPFLAGS} -c main.c ++ ${CC} ${CFLAGS} main.o mpglib.o -o ${NAME} ${LDFLAGS} -lm -lreadline -lncurses i386: - gcc -Wall -O -c mpglib.c