Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2009 18:16:11 +0900 (JST)
From:      Alexander Nedotsukov <bland@bbnest.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jsa@wickedmachine.net
Subject:   ports/138162: multimedia/vlc: Relax libtar dependency.
Message-ID:  <200908250916.n7P9GBUY067309@hub.bbnest.net>
Resent-Message-ID: <200908250940.n7P9e1eb062878@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138162
>Category:       ports
>Synopsis:       multimedia/vlc: Relax libtar dependency.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 25 09:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Nedotsukov
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD hub.bbnest.net 7.2-STABLE FreeBSD 7.2-STABLE #3: Mon Jul 13 20:52:53 JST 2009 bland@hub.bbnest.net:/usr/obj/usr/src/sys/HUB i386


>Description:
	VLC port have permanent devel/libtar dependency which only have
a sense only if skins2 module configured to be installed. Please approve
the patch attached.

--- vlc.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/vlc/Makefile,v
retrieving revision 1.195
diff -u -r1.195 Makefile
--- Makefile	23 Aug 2009 05:09:26 -0000	1.195
+++ Makefile	25 Aug 2009 07:16:53 -0000
@@ -10,6 +10,7 @@
 
 PORTNAME=	vlc
 DISTVERSION=	1.0.1
+PORTREVISION=	1
 PORTEPOCH=	3
 CATEGORIES=	multimedia audio ipv6 net www
 MASTER_SITES=	http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION}/ \
@@ -21,8 +22,7 @@
 
 BUILD_DEPENDS=	${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat \
 		${LOCALBASE}/include/X11/xpm.h:${PORTSDIR}/x11/libXpm
-LIB_DEPENDS=	tar.0:${PORTSDIR}/devel/libtar \
-		avcodec.1:${PORTSDIR}/multimedia/ffmpeg
+LIB_DEPENDS=	avcodec.1:${PORTSDIR}/multimedia/ffmpeg
 RUN_DEPENDS=	${LOCALBASE}/lib/X11/fonts/bitstream-vera/Vera.ttf:${PORTSDIR}/x11-fonts/bitstream-vera
 
 OPTIONS=	A52 "a52 audio support, many DVDs use this" On \
@@ -183,9 +183,10 @@
 .endif
 
 .if defined(WITH_SKINS) && !defined(WITHOUT_SKINS) && !defined(WITHOUT_QT4)
-CONFIGURE_ARGS+=--enable-skins2
+LIB_DEPENDS+=	tar.0:${PORTSDIR}/devel/libtar
+CONFIGURE_ARGS+=--enable-skins2 --enable-libtar
 .else
-CONFIGURE_ARGS+=--disable-skins2
+CONFIGURE_ARGS+=--disable-skins2 --disable-libtar
 .endif
 
 .if ${ARCH}=="i386" && defined(WITH_WIN32_CODECS)
--- vlc.patch ends here ---


>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908250916.n7P9GBUY067309>