aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cmp3
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-05-08 06:48:39 +0800
committerbapt <bapt@FreeBSD.org>2014-05-08 06:48:39 +0800
commit8d02582c04f89b36768dba41f8bc077c6c761f48 (patch)
tree0dc59254eeda794f151de49e916a80297e826fac /audio/cmp3
parent7c5ca9c42832d7a91f16f7f3922a9fa544ff74bf (diff)
downloadfreebsd-ports-gnome-8d02582c04f89b36768dba41f8bc077c6c761f48.tar.gz
freebsd-ports-gnome-8d02582c04f89b36768dba41f8bc077c6c761f48.tar.zst
freebsd-ports-gnome-8d02582c04f89b36768dba41f8bc077c6c761f48.zip
Fix the Makefile to fix build with clang instead of relying on gcc ignoring the error
Diffstat (limited to 'audio/cmp3')
-rw-r--r--audio/cmp3/Makefile1
-rw-r--r--audio/cmp3/files/patch-Makefile.in15
2 files changed, 12 insertions, 4 deletions
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile
index 97128fc7077a..ba3d848fa4ca 100644
--- a/audio/cmp3/Makefile
+++ b/audio/cmp3/Makefile
@@ -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
diff --git a/audio/cmp3/files/patch-Makefile.in b/audio/cmp3/files/patch-Makefile.in
index d86428aa4f83..a06a43bce286 100644
--- a/audio/cmp3/files/patch-Makefile.in
+++ b/audio/cmp3/files/patch-Makefile.in
@@ -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