[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#506956: Allow an exception for pkgconfig symlinks



Package: dpkg-cross
tag 506956 + pending
thanks

This came about as a result of the fix for #499292 so I'm allowing a
specific exception for pkgconfig files:

Index: dpkg-cross
===================================================================
RCS file: /cvsroot/dpkg-cross/dpkg-cross/dpkg-cross,v
retrieving revision 1.65
diff -p -u -b -B -r1.65 dpkg-cross
--- dpkg-cross	21 Nov 2008 10:04:41 -0000	1.65
+++ dpkg-cross	26 Dec 2008 11:38:45 -0000
@@ -912,7 +912,8 @@ sub sub_build {
 		# skip links to private modules and plugins that are not
 		# useful or packaged in the -cross package, basically anything
 		# in a directory beneath /usr/lib/. See #499292
-		next if ($lv =~ m:$crosslib/.*/:);
+		# except pkgconfig symlinks, see #506956
+		next if (($lv =~ m:$crosslib/.*/:) and ($lv !~ m:$crosslib/pkgconfig/:));
 		$lv =~ m:$crosslib/(.*)$:;
 		print "Creating symlink $_ -> $1\n" if ($verbose >= 2);
 


-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpSaaufHIYSH.pgp
Description: PGP signature


Reply to: