SHA256
1
0
forked from pool/xfconf
xfconf/xfconf-4.7.3-remove-rpath.patch

23 lines
629 B
Diff

diff -ur xfconf-4.7.3.orig/xfconf-perl/Makefile.PL.in xfconf-4.7.3/xfconf-perl/Makefile.PL.in
--- xfconf-4.7.3.orig/xfconf-perl/Makefile.PL.in 2010-09-05 15:16:31.000000000 +0200
+++ xfconf-4.7.3/xfconf-perl/Makefile.PL.in 2010-11-24 00:34:40.000000000 +0100
@@ -98,6 +98,18 @@
$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
{