aboutsummaryrefslogtreecommitdiff
path: root/graphics/exact-image/fixup-perl_paths.diff
blob: 9f463c6e974f80e8ee951f622cbd38695db2b8b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
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@