vlc install error - possibly plist error for kde4?

Wesley Shields wxs at FreeBSD.org
Wed Jul 14 01:23:06 UTC 2010


On Mon, Jul 12, 2010 at 09:45:34PM -0400, Joseph S. Atkinson wrote:
> On 07/12/2010 20:24, Wesley Shields wrote:
> > On Mon, Jul 12, 2010 at 10:42:46PM +0200, David DEMELIER wrote:
> >> 2010/7/12 David Southwell<david at vizion2000.net>:
> >>> cd: can't cd to /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4
> 
> ...
> 
> >> I don't understand this : cd: can't cd to
> >> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4
> >>
> 
> Whatever options were use, the kde4 directory isn't being created. This needs to 
> be checked for. Try this patch.

> --- /usr/ports/multimedia/vlc/Makefile	2010-07-12 16:48:11.000000000 -0400
> +++ Makefile	2010-07-12 20:59:50.000000000 -0400
> @@ -662,11 +662,13 @@
>  		${SED} -e 's|^|@dirrmtry libdata/|' >> ${PLIST} ; \
>  	fi
>  .for dir in icons kde4 vlc
> +	if [ -d ${FAKEDIR}/share/${dir} ]; then \
>  	cd ${FAKEDIR}/share/${dir} && ${FIND} -s * -type f -o -type l | \
>  		${SED} -e 's|^|share/${dir}/|' >> ${PLIST} \
>  		&& ${FIND} -d * -type d | \
> -		${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST}
> -		${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST}
> +		${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST} \
> +		&& ${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST} ; \
> +	fi
>  .endfor
>  .if !defined(NOPORTDOCS)
>  	cd ${FAKEDIR}/share/doc && ${FIND} -s * -type f -o -type l | \

I committed this patch after not hearing anything back from David
Southwell. It should solve the problem, despite not knowing what the
root cause is.

-- WXS


More information about the freebsd-ports mailing list