aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2014-01-24 02:32:31 +0800
committerriggs <riggs@FreeBSD.org>2014-01-24 02:32:31 +0800
commit6ee9a2a3db8904633a78902dddfb1338c0d4683c (patch)
treed4afaab736af6487dcdaf730ff2abfde5ffc7b2e
parentebfcf62143ad6bead94412868010767260263fee (diff)
downloadfreebsd-ports-gnome-6ee9a2a3db8904633a78902dddfb1338c0d4683c.tar.gz
freebsd-ports-gnome-6ee9a2a3db8904633a78902dddfb1338c0d4683c.tar.zst
freebsd-ports-gnome-6ee9a2a3db8904633a78902dddfb1338c0d4683c.zip
Fix build failure on FreeBSD 10
Approved by: maintainer (ashish), mentor (thierry)
-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/