slackbuilds_ponce/graphics/exact-image/fixup-perl_paths.diff
Benjamin Trigona-Harany 6bfcec9d9a graphics/exact-image: Updated for version 0.8.7.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-04-09 11:53:24 -05:00

12 lines
547 B
Diff

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@