aboutsummaryrefslogtreecommitdiff
path: root/graphics/exact-image/fixup-perl_paths.diff
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/exact-image/fixup-perl_paths.diff')
-rw-r--r--graphics/exact-image/fixup-perl_paths.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/exact-image/fixup-perl_paths.diff b/graphics/exact-image/fixup-perl_paths.diff
new file mode 100644
index 0000000000000..9f463c6e974f8
--- /dev/null
+++ b/graphics/exact-image/fixup-perl_paths.diff
@@ -0,0 +1,12 @@
+diff -Nur exact-image-0.8.2.orig//api/perl/Makefile exact-image-0.8.2/api/perl/Makefile
+--- exact-image-0.8.2.orig//api/perl/Makefile 2008-12-09 03:42:19.000000000 -0600
++++ exact-image-0.8.2/api/perl/Makefile 2010-06-23 08:57:13.015010261 -0500
+@@ -20,5 +20,6 @@
+ all:: $($(X_MODULE)_BINARY)
+ install:: $($(X_MODULE)_BINARY)
+ $(Q)echo "INSTALL PERL module $^"
+- $(Q)mkdir -p $(DESTDIR)$(libdir)/perl5/site_perl/
+- $(Q)install $^ $(dir $^)/ExactImage.pm $(DESTDIR)$(libdir)/perl5/site_perl/
++ eval `perl -V:vendorlib`
++ $(Q)mkdir -p $(DESTDIR)@vendorlib@
++ $(Q)install $^ $(dir $^)/ExactImage.pm $(DESTDIR)@vendorlib@