mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix build with clang and remove USE_GCC=yes
This commit is contained in:
parent
a96e3be3d4
commit
8cbbcb307d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346840
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue