summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-03-02 23:43:15 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-03-02 23:43:15 +0000
commit8cbbcb307dcbf5f5357a79488e47e3dec4ba272f (patch)
tree8f1dcd2c4efb4c80b72657a5f4e0bd61b442d3ad /audio
parentfix typo (CONFIURE_ARGS -> CONFIGURE_ARGS) (diff)
Fix build with clang and remove USE_GCC=yes
Notes
Notes: svn path=/head/; revision=346840
Diffstat (limited to 'audio')
-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