Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2006 12:32:49 +0800
From:      chinsan <chinsan.tw@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        multimedia@FreeBSD.org
Subject:   [PATCH] multimedia/vlc: fix build error, make portlint more happy
Message-ID:  <20060820042510.7BBF42E96A@smtp2.bc.hgc.com.tw>

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

>Submitter-Id:	current-users
>Originator:	chinsan
>Organization:	FreeBSD Taiwan
>Confidential:	no 
>Synopsis:	[PATCH] multimedia/vlc: fix build error, make portlint more happy
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.1-STABLE i386
>Environment:
System: FreeBSD chinsan2.twbbs.org 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun  2 16:44:35 CST
>Description:
 - correct LIB_DEPEND typo(should be LIB_DEPENDS)
 - INSTALLS_SHLIB is deprecated, use USE_LDCONFIG instead
 - make portlint more happy

Port maintainer (multimedia@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- vlc-0.8.5_5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/vlc/Makefile /usr/home/chinsan/project/vlc/Makefile
--- /usr/ports/multimedia/vlc/Makefile	Sat Aug 12 01:55:45 2006
+++ /usr/home/chinsan/project/vlc/Makefile	Sun Aug 20 12:31:05 2006
@@ -10,7 +10,7 @@
 
 PORTNAME=	vlc
 DISTVERSION=	0.8.5
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	multimedia audio ipv6 net www
 MASTER_SITES=	http://download.videolan.org/pub/videolan/vlc/${PORTVERSION}/ \
 		http://ftp.snt.utwente.nl/pub/software/videolan/vlc/${PORTVERSION}/ \
@@ -40,7 +40,7 @@
 FAKEDIR=	${WRKDIR}/fake
 PLIST=		${WRKDIR}/plist
 
-INSTALLS_SHLIB=	yes
+USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${WRKSRC}/include ${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
 		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
@@ -69,11 +69,11 @@
 .include <bsd.port.pre.mk>
 
 .if ${OSVERSION} < 500035
-BROKEN= does not build on FreeBSD 4.x
+BROKEN=		Does not build on FreeBSD 4.x
 .endif
 
 .if ${PERL_LEVEL} < 500800
-BROKEN=	does not compile with perl ${PERL_VERSION}
+BROKEN=		Does not compile with perl ${PERL_VERSION}
 .endif
 
 .if exists(${LOCALBASE}/libdata/pkgconfig/libavcodec.pc) || !exists(${LOCALBASE}/lib/libavformat.a)
@@ -425,7 +425,7 @@
 .endif
 
 .if !defined(WITHOUT_SAMBA)
-LIB_DEPEND+=	smbclient.0:${PORTSDIR}/net/samba-libsmbclient
+LIB_DEPENDS+=	smbclient.0:${PORTSDIR}/net/samba-libsmbclient
 CONFIGURE_ARGS+=--enable-smb
 .else
 CONFIGURE_ARGS+=--disable-smb
--- vlc-0.8.5_5.patch ends here ---




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