From 1e9d58396efd0c3433e29482436f217169a74919 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 16 Jun 2014 15:30:39 +0000 Subject: [PATCH] - Convert USE_BZIP2 to USES - Fix build on 10.x - Switch to USES=libtool Approved by: portmgr blanket --- audio/ncmpcpp/Makefile | 7 +++---- audio/ncmpcpp/files/patch-src__visualizer.h | 11 +++++++++++ 2 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 audio/ncmpcpp/files/patch-src__visualizer.h diff --git a/audio/ncmpcpp/Makefile b/audio/ncmpcpp/Makefile index d5d8cf28022d..03c169700585 100644 --- a/audio/ncmpcpp/Makefile +++ b/audio/ncmpcpp/Makefile @@ -3,7 +3,7 @@ PORTNAME= ncmpcpp PORTVERSION= 0.5.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= http://unkart.ovh.org/ncmpcpp/ \ http://mirror.mcx2.org/ @@ -14,12 +14,11 @@ COMMENT= ncurses mpd client, clone of ncmpc with some new features LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient \ libfftw3.so:${PORTSDIR}/math/fftw3 -USES= iconv ncurses pkgconfig -USE_BZIP2= yes +USES= iconv libtool ncurses pkgconfig tar:bzip2 USE_GCC= any GNU_CONFIGURE= yes USE_GNOME= glib20 -USE_AUTOTOOLS= automake aclocal libtool +USE_AUTOTOOLS= automake aclocal AUTOMAKE_ARGS= --add-missing ACLOCAL_ARGS= --automake-acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal CPPFLAGS+= -I${LOCALBASE}/include diff --git a/audio/ncmpcpp/files/patch-src__visualizer.h b/audio/ncmpcpp/files/patch-src__visualizer.h new file mode 100644 index 000000000000..8114ee6e1f53 --- /dev/null +++ b/audio/ncmpcpp/files/patch-src__visualizer.h @@ -0,0 +1,11 @@ +--- src/visualizer.h.orig 2012-04-01 20:49:09.000000000 +0400 ++++ src/visualizer.h 2014-06-16 19:07:34.000000000 +0400 +@@ -34,6 +34,8 @@ + # include + #endif + ++#include ++ + class Visualizer : public Screen + { + public: