Fix build with clang and remove USE_GCC=yes

This commit is contained in:
Baptiste Daroussin 2014-03-02 23:43:15 +00:00
parent a96e3be3d4
commit 8cbbcb307d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346840

View file

@ -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