Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2014 18:49:30 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374965 - head/multimedia/vlc
Message-ID:  <201412191849.sBJInUI0095413@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Fri Dec 19 18:49:30 2014
New Revision: 374965
URL: https://svnweb.freebsd.org/changeset/ports/374965
QAT: https://qat.redports.org/buildarchive/r374965/

Log:
  Avoid pulling in x11 depencencies if not necessary
  - Use INSTALL_ICONS only when X11 OPTION is enabled
  - Bump PORTREVISION
  
  Reported-by:	olgeni

Modified:
  head/multimedia/vlc/Makefile

Modified: head/multimedia/vlc/Makefile
==============================================================================
--- head/multimedia/vlc/Makefile	Fri Dec 19 18:45:13 2014	(r374964)
+++ head/multimedia/vlc/Makefile	Fri Dec 19 18:49:30 2014	(r374965)
@@ -3,7 +3,7 @@
 
 PORTNAME=	vlc
 DISTVERSION=	2.1.5
-PORTREVISION=	13
+PORTREVISION=	14
 PORTEPOCH=	4
 CATEGORIES=	multimedia audio ipv6 net www
 MASTER_SITES=	http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
@@ -29,8 +29,6 @@ USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
-INSTALLS_ICONS=	yes
-
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-avcodec --enable-avformat --enable-dvbpsi \
 		--enable-fontconfig --enable-freetype --enable-libgcrypt \
@@ -308,6 +306,10 @@ PORTDOCS=	*
 IGNORE=		Pulseaudio is unsupported with rtld prior to FreeBSD-9.x
 .endif
 
+.if ${PORT_OPTIONS:MX11}
+INSTALLS_ICONS=	yes
+.endif
+
 .if ${PORT_OPTIONS:MSKINS}
 .if ${PORT_OPTIONS:MQT4}
 LIB_DEPENDS+=	libminizip.so:${PORTSDIR}/archivers/minizip \
@@ -344,7 +346,5 @@ post-patch:
 post-install:
 	@(cd ${STAGEDIR}${PREFIX} && ${FIND} -s lib/vlc -not -name '*.la' \
 		-type f -o -type l >> ${TMPPLIST})
-	@(cd ${STAGEDIR}${PREFIX} && ${FIND} -s -d lib/vlc -type d | \
-		${SED} 's/^/@dirrm /' >> ${TMPPLIST})
 
 .include <bsd.port.mk>



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