svn commit: r353224 - in head/audio/cmp3: . files

Baptiste Daroussin bapt at FreeBSD.org
Wed May 7 22:48:40 UTC 2014


Author: bapt
Date: Wed May  7 22:48:39 2014
New Revision: 353224
URL: http://svnweb.freebsd.org/changeset/ports/353224
QAT: https://qat.redports.org/buildarchive/r353224/

Log:
  Fix the Makefile to fix build with clang instead of relying on gcc ignoring the error

Modified:
  head/audio/cmp3/Makefile
  head/audio/cmp3/files/patch-Makefile.in

Modified: head/audio/cmp3/Makefile
==============================================================================
--- head/audio/cmp3/Makefile	Wed May  7 22:39:09 2014	(r353223)
+++ head/audio/cmp3/Makefile	Wed May  7 22:48:39 2014	(r353224)
@@ -22,7 +22,6 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-kenrevs
 
 USES=		gmake ncurses
 GNU_CONFIGURE=	yes
-USE_GCC=	any
 MAKE_ARGS=	install_directory=${STAGEDIR}${PREFIX}/bin
 
 PORTDOCS=	README sample.cmp3rc

Modified: head/audio/cmp3/files/patch-Makefile.in
==============================================================================
--- head/audio/cmp3/files/patch-Makefile.in	Wed May  7 22:39:09 2014	(r353223)
+++ head/audio/cmp3/files/patch-Makefile.in	Wed May  7 22:48:39 2014	(r353224)
@@ -1,5 +1,5 @@
---- Makefile.in.orig	2001-07-29 02:43:49.000000000 -0300
-+++ Makefile.in	2009-09-20 11:17:07.000000000 -0300
+--- Makefile.in.orig	2001-07-29 07:43:49.000000000 +0200
++++ Makefile.in	2014-05-08 00:46:44.189113048 +0200
 @@ -5,19 +5,19 @@
  #  initial_directory is now set in the config file
  mpg123_location   := "mpg123"
@@ -23,7 +23,16 @@
  
  ## Define this for bufferring or add other parameters to mpg123 and ogg123
  mpg123_params := -b 320
-@@ -42,7 +42,7 @@
+@@ -35,14 +35,14 @@
+ 
+ VERSION="2.0pre6"
+ WKGDIR=cmp3-kenrevs
+-PARAMS= -DCMP3_VER="\$(VERSION)\" -DEXEC_LOC="\$(mpg123_location)\" \
+-    -DCMP3_CONFIG="\$(config_file)\" -DOGG_LOC="\$(ogg123_location)\"
++PARAMS= -DCMP3_VER=\"$(VERSION)\" -DEXEC_LOC=\"$(mpg123_location)\" \
++    -DCMP3_CONFIG=\"$(config_file)\" -DOGG_LOC=\"$(ogg123_location)\"
+ RNMP3PARAMS= -DVERSION="\$(VERSION)\"
+ # Something for me and my cd changer, you definately don't want it as it
  # stands. Change the code to do something else you want it to do...
  #PARAMS +=-DMY_CD
  LIBS= -lform -lncurses


More information about the svn-ports-all mailing list