aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xine/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-08-28 06:21:36 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-08-28 06:21:36 +0000
commit74bb8370243cd2b89337dcef501673cf0842c46a (patch)
tree7ceba6c49003e609836fd3a363c468c1668dd79a /multimedia/xine/Makefile
parent2ae4c71604306c88499b1963d9ff6f3e0b1ed9a9 (diff)
Update to version 0.99.9.
PR: ports/193041 Submitted by: Ports Fury.
Notes
Notes: svn path=/head/; revision=366379
Diffstat (limited to 'multimedia/xine/Makefile')
-rw-r--r--multimedia/xine/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/multimedia/xine/Makefile b/multimedia/xine/Makefile
index 0dfe08d792e3..5f0f23afdf1a 100644
--- a/multimedia/xine/Makefile
+++ b/multimedia/xine/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= xine
-PORTVERSION= 0.99.8
-PORTREVISION= 2
+PORTVERSION= 0.99.9
CATEGORIES= multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-ui/${PORTVERSION}
DISTNAME= ${PORTNAME}-ui-${PORTVERSION}
@@ -16,7 +15,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png \
libxine.so:${PORTSDIR}/multimedia/libxine
-USES= desktop-file-utils gmake iconv pkgconfig readline \
+USES= desktop-file-utils execinfo gmake iconv pkgconfig readline \
shared-mime-info tar:xz
USE_XORG= x11 xext xinerama xscrnsaver xtst xv xxf86vm
GNU_CONFIGURE= yes
@@ -30,7 +29,6 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
DOCSDIR= ${PREFIX}/share/doc/xine-ui
-XINE_PLUGINSDIR= lib/xine/plugins/2.3
OPTIONS_DEFINE= AALIB CACA CURL DOCS LIRC NLS XFT
OPTIONS_DEFAULT= CURL XFT
@@ -56,14 +54,13 @@ WIN32_CODECS_RUN_DEPENDS=\
XFT_USE= XORG=xft
XFT_CONFIGURE_ENABLE= xft
-.include <bsd.port.options.mk>
-
-.if ${OSVERSION} < 1000052
-LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
-.endif
+XINE_PLUGINSDIR= lib/xine/plugins/2.3
post-patch:
@${REINPLACE_CMD} -e \
's|<string.h>|<strings.h>|' ${WRKSRC}/src/aaui/main.c
+ @${REINPLACE_CMD} -e \
+ 's|<\(readline.h\)>|<readline/\1>| ; \
+ s|<\(history.h\)>|<readline/\1>|' ${WRKSRC}/src/xitk/network.c
.include <bsd.port.mk>