Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2010 21:45:34 -0400
From:      "Joseph S. Atkinson" <jsa.bsd@gmail.com>
To:        freebsd-ports@freebsd.org
Cc:        David DEMELIER <demelier.david@gmail.com>, Wesley Shields <wxs@FreeBSD.org>, David Southwell <david@vizion2000.net>
Subject:   Re: vlc install error - possibly plist error for kde4?
Message-ID:  <4C3BC53E.3000600@gmail.com>
In-Reply-To: <20100713002440.GA85697@atarininja.org>
References:  <201007121719.23393.david@vizion2000.net> <AANLkTikxgPcF2psu8ullK6Rivu7lcixIJpMzCIQaj76q@mail.gmail.com> <20100713002440.GA85697@atarininja.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010301050900040509070509
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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@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.

--------------010301050900040509070509
Content-Type: text/plain;
 name="vlc_no-kde4dir.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="vlc_no-kde4dir.diff"

--- /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 | \

--------------010301050900040509070509--



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