SHA256
1
0
forked from pool/xfconf
xfconf/xfconf-4.7.3-remove-rpath.patch
Guido Berhoerster 3d0c58bf17 - corrected dependencies
- split of -lang subpackage
- specfile cleanup

OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfconf?expand=0&rev=38
2012-03-31 09:42:56 +00:00

24 lines
591 B
Diff

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
{