diff options
Diffstat (limited to 'audio/pianobar/Makefile.diff')
-rw-r--r-- | audio/pianobar/Makefile.diff | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/audio/pianobar/Makefile.diff b/audio/pianobar/Makefile.diff index 2faefac08d..2756b57cfd 100644 --- a/audio/pianobar/Makefile.diff +++ b/audio/pianobar/Makefile.diff @@ -1,7 +1,7 @@ -diff -ru pianobar-2011.07.09-orig/Makefile pianobar-2011.07.09/Makefile ---- pianobar-2011.07.09-orig/Makefile 2011-07-09 04:40:54.000000000 -0400 -+++ pianobar-2011.07.09/Makefile 2011-07-09 23:23:28.000000000 -0400 -@@ -7,13 +7,7 @@ +diff -Naur pianobar-2013.09.15-orig/Makefile pianobar-2013.09.15/Makefile +--- pianobar-2013.09.15-orig/Makefile 2013-09-15 09:54:04.000000000 -0400 ++++ pianobar-2013.09.15/Makefile 2013-09-27 23:54:19.406220780 -0400 +@@ -7,20 +7,7 @@ MANDIR:=${PREFIX}/share/man DYNLINK:=0 @@ -10,9 +10,16 @@ diff -ru pianobar-2011.07.09-orig/Makefile pianobar-2011.07.09/Makefile - CFLAGS=-O2 -DNDEBUG -endif -ifeq (${CC},cc) -- CC=c99 +- OS := $(shell uname) +- ifeq (${OS},Darwin) +- CC=gcc -std=c99 +- else ifeq (${OS},FreeBSD) +- CC=cc -std=c99 +- else +- CC=c99 +- endif -endif +CFLAGS+=-std=c99 -O2 -DNDEBUG - PIANOBAR_DIR=src - PIANOBAR_SRC=\ + PIANOBAR_DIR:=src + PIANOBAR_SRC:=\ |