File xfconf-4.7.3-remove-rpath.patch of Package xfconf

Index: xfconf-4.7.4/xfconf-perl/Makefile.PL.in
===================================================================
--- xfconf-4.7.4.orig/xfconf-perl/Makefile.PL.in
+++ xfconf-4.7.4/xfconf-perl/Makefile.PL.in
@@ -98,6 +98,18 @@ WriteMakefile(
     $xfconf->get_makefile_vars,
 );

+rename "Makefile.perl", "Makefile.perl.orig"
+    or die "Cannot rename: $!";
+open IN, "<Makefile.perl.orig"
+    or die "Cannot open: $!";
+open OUT, ">Makefile.perl"
+    or die "Cannot create: $!";
+while (<IN>)
+{
+    print OUT $_ unless /^LD_RUN_PATH /;
+}
+close IN;
+close OUT;

 sub MY::postamble
 {
openSUSE Build Service is sponsored by