From 8cbbcb307dcbf5f5357a79488e47e3dec4ba272f Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 2 Mar 2014 23:43:15 +0000 Subject: [PATCH] Fix build with clang and remove USE_GCC=yes --- audio/maplay/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/audio/maplay/Makefile b/audio/maplay/Makefile index 7c9d9a3da37e..4c042f6fad51 100644 --- a/audio/maplay/Makefile +++ b/audio/maplay/Makefile @@ -13,8 +13,6 @@ COMMENT= MPEG audio player/decoder decoding layer I and II MPEG audio streams LICENSE= GPLv2 -USE_GCC= yes - NO_WRKSUBDIR= yes PLIST_FILES= bin/maplay @@ -22,9 +20,8 @@ PORTDOCS= README OPTIONS_DEFINE= DOCS -.include - post-patch: + @${REINPLACE_CMD} -e 's,^main,int main,g' ${WRKSRC}/maplay.cc @${REINPLACE_CMD} -e 's,machine/soundcard.h,sys/soundcard.h,' \ ${WRKSRC}/configuration.sh