aboutsummaryrefslogtreecommitdiffstats
path: root/audio/maplay
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-03-03 07:43:15 +0800
committerbapt <bapt@FreeBSD.org>2014-03-03 07:43:15 +0800
commit315aaf63d477c6076262f74368ad419f1e713dc2 (patch)
tree8f1dcd2c4efb4c80b72657a5f4e0bd61b442d3ad /audio/maplay
parentb0db9695dc32fe0ef8bffd5e79d6b0558f088af1 (diff)
downloadfreebsd-ports-gnome-315aaf63d477c6076262f74368ad419f1e713dc2.tar.gz
freebsd-ports-gnome-315aaf63d477c6076262f74368ad419f1e713dc2.tar.zst
freebsd-ports-gnome-315aaf63d477c6076262f74368ad419f1e713dc2.zip
Fix build with clang and remove USE_GCC=yes
Diffstat (limited to 'audio/maplay')
-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