aboutsummaryrefslogtreecommitdiff
path: root/audio/pms
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2014-01-23 18:32:31 +0000
committerThomas Zander <riggs@FreeBSD.org>2014-01-23 18:32:31 +0000
commit20176264dbdded9fd0679773fc6933cffd2651ac (patch)
treed4afaab736af6487dcdaf730ff2abfde5ffc7b2e /audio/pms
parentf81fd8d73a7d21f6d3fbca1eabc13a574532b914 (diff)
downloadports-20176264dbdded9fd0679773fc6933cffd2651ac.tar.gz
ports-20176264dbdded9fd0679773fc6933cffd2651ac.zip
Fix build failure on FreeBSD 10
Approved by: maintainer (ashish), mentor (thierry)
Notes
Notes: svn path=/head/; revision=340845
Diffstat (limited to 'audio/pms')
-rw-r--r--audio/pms/Makefile7
-rw-r--r--audio/pms/files/patch-src_message.h10
-rw-r--r--audio/pms/pkg-descr2
3 files changed, 15 insertions, 4 deletions
diff --git a/audio/pms/Makefile b/audio/pms/Makefile
index bf59691390e6..f63dd583a392 100644
--- a/audio/pms/Makefile
+++ b/audio/pms/Makefile
@@ -10,16 +10,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION}
MAINTAINER= ashish@FreeBSD.org
COMMENT= A ncurses-based client for the Music Player Daemon
+LICENSE= GPLv3
+
LIB_DEPENDS= libboost_regex.so:${PORTSDIR}/devel/boost-libs
USES= pkgconfig
-NO_STAGE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GNOME= glib20
-MAN1= ${PORTNAME}.1
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/pms.1.gz
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/audio/pms/files/patch-src_message.h b/audio/pms/files/patch-src_message.h
new file mode 100644
index 000000000000..6376d8b8e232
--- /dev/null
+++ b/audio/pms/files/patch-src_message.h
@@ -0,0 +1,10 @@
+--- src/message.h.orig 2010-01-02 21:53:36.000000000 +0100
++++ src/message.h 2014-01-19 16:59:54.616726275 +0100
+@@ -25,6 +25,7 @@
+ #define _PMS_MESSAGE_H_
+
+ #include <string>
++#include <ctime>
+
+ using namespace std;
+
diff --git a/audio/pms/pkg-descr b/audio/pms/pkg-descr
index 4a9c752ed727..00e8a82f2aa6 100644
--- a/audio/pms/pkg-descr
+++ b/audio/pms/pkg-descr
@@ -4,4 +4,4 @@ need an MPD client that is highly configurable and accessible. PMS
features a simple but powerful interface similar to Vim, and runs on
(at least) Linux and Mac OS X.
-WWW: http://pms.sourceforge.net/
+WWW: http://pms.sourceforge.net/