summaryrefslogtreecommitdiff
path: root/graphics/exact-image/fixup-perl_paths.diff
blob: a0d6589bf9d9f1937ddd131ab9e5e3e73473fb73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur exact-image-0.8.7.orig//api/perl/Makefile exact-image-0.8.7/api/perl/Makefile
--- exact-image-0.8.7.orig//api/perl/Makefile
+++ exact-image-0.8.7/api/perl/Makefile
@@ -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@