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