diff options
-rw-r--r-- | audio/pianobar/Makefile | 4 | ||||
-rw-r--r-- | audio/pianobar/distinfo | 4 | ||||
-rw-r--r-- | audio/pianobar/files/patch-Makefile | 25 |
3 files changed, 7 insertions, 26 deletions
diff --git a/audio/pianobar/Makefile b/audio/pianobar/Makefile index 7255085843d7..dd47c4e8a196 100644 --- a/audio/pianobar/Makefile +++ b/audio/pianobar/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= pianobar -PORTVERSION= 2012.12.01 -PORTREVISION= 2 +PORTVERSION= 2013.05.19 CATEGORIES= audio MASTER_SITES= http://6xq.net/projects/${PORTNAME}/ @@ -26,6 +25,7 @@ PLIST_FILES= bin/pianobar USE_BZIP2= yes USE_GMAKE= yes +MAKE_ARGS+= CC="${CC}" CFLAGS+= -I${LOCALBASE}/include -std=c99 LDFLAGS+= -L${LOCALBASE}/lib diff --git a/audio/pianobar/distinfo b/audio/pianobar/distinfo index 205306e6723a..3cabb893db37 100644 --- a/audio/pianobar/distinfo +++ b/audio/pianobar/distinfo @@ -1,2 +1,2 @@ -SHA256 (pianobar-2012.12.01.tar.bz2) = a3909f796e7cef21b19d98282f332ecbcf9b2c60a2af22a0a2ce01e9c4d9f515 -SIZE (pianobar-2012.12.01.tar.bz2) = 50383 +SHA256 (pianobar-2013.05.19.tar.bz2) = cf88e82663d2b0aa4d73e761506eac4f3e7bc789b57d92377acd994d785e1046 +SIZE (pianobar-2013.05.19.tar.bz2) = 50942 diff --git a/audio/pianobar/files/patch-Makefile b/audio/pianobar/files/patch-Makefile index 913e6b330425..b2685e288e3c 100644 --- a/audio/pianobar/files/patch-Makefile +++ b/audio/pianobar/files/patch-Makefile @@ -1,6 +1,6 @@ ---- Makefile 2012-12-01 09:03:23.000000000 -0800 -+++ Makefile 2012-12-28 15:03:03.150101419 -0800 -@@ -4,16 +4,14 @@ +--- Makefile.orig 2013-06-06 11:12:53.077684094 -0700 ++++ Makefile 2013-06-06 11:25:07.697666849 -0700 +@@ -4,7 +4,7 @@ BINDIR:=${PREFIX}/bin LIBDIR:=${PREFIX}/lib INCDIR:=${PREFIX}/include @@ -9,22 +9,3 @@ DYNLINK:=0 # Respect environment variables set by user; does not work with := - ifeq (${CFLAGS},) - CFLAGS=-O2 -DNDEBUG - endif --ifeq (${CC},cc) -- CC=c99 --endif -+DEPCC=cc - - PIANOBAR_DIR=src - PIANOBAR_SRC=\ -@@ -119,7 +117,7 @@ - # build dependency files - %.d: %.c - @set -e; rm -f $@; \ -- $(CC) -M ${CFLAGS} -I ${LIBPIANO_INCLUDE} -I ${LIBWAITRESS_INCLUDE} \ -+ $(DEPCC) -M ${CFLAGS} -I ${LIBPIANO_INCLUDE} -I ${LIBWAITRESS_INCLUDE} \ - ${LIBFAAD_CFLAGS} ${LIBMAD_CFLAGS} ${LIBGNUTLS_CFLAGS} \ - ${LIBGCRYPT_CFLAGS} ${LIBJSONC_CFLAGS} $< > $@.$$$$; \ - sed '1 s,^.*\.o[ :]*,$*.o $@ : ,g' < $@.$$$$ > $@; \ |