aboutsummaryrefslogtreecommitdiffstats
path: root/audio/maplay/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/maplay/Makefile')
-rw-r--r--audio/maplay/Makefile5
1 files changed, 1 insertions, 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 <bsd.port.options.mk>
-
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