svn commit: r346840 - head/audio/maplay

Baptiste Daroussin bapt at FreeBSD.org
Sun Mar 2 23:43:16 UTC 2014


Author: bapt
Date: Sun Mar  2 23:43:15 2014
New Revision: 346840
URL: http://svnweb.freebsd.org/changeset/ports/346840
QAT: https://qat.redports.org/buildarchive/r346840/

Log:
  Fix build with clang and remove USE_GCC=yes

Modified:
  head/audio/maplay/Makefile

Modified: head/audio/maplay/Makefile
==============================================================================
--- head/audio/maplay/Makefile	Sun Mar  2 23:38:13 2014	(r346839)
+++ head/audio/maplay/Makefile	Sun Mar  2 23:43:15 2014	(r346840)
@@ -13,8 +13,6 @@ COMMENT=	MPEG audio player/decoder decod
 
 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
 


More information about the svn-ports-head mailing list