SHA256
1
0
forked from pool/xfconf
xfconf/xfconf-4.7.3-remove-rpath.patch
2012-04-17 20:03:30 +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
{