freebsd-ports/print/epson-inkjet-printer-escpr/files/patch-ppd_Makefile.am
Steve Wills 099d8da5cb print/epson-inkjet-printer-escpr: Update to 1.7.3
PR:		240550
Submitted by:	Tatsuki Makino <tatsuki_makino@hotmail.com> (maintainer)
2019-09-13 10:53:03 +00:00

18 lines
765 B
Text

--- ppd/Makefile.am.orig 2019-08-28 05:35:05 UTC
+++ ppd/Makefile.am
@@ -624,8 +624,10 @@ EXTRA_DIST = $(cupsppd_DATA)
# LSBビルド環境の場合、~/.rpmmacros %adjust_ppds が担っている処理を実施
install-data-hook:
-if LSB
-else
- echo "Make CUPS filter paths in the PPDs absolute"
- sed -i 's,0 epson-escpr-wrapper,0 @CUPS_FILTER_DIR@/epson-escpr-wrapper,' $(DESTDIR)$(cupsppddir)/*.ppd
-endif
+#if LSB
+#else
+# echo "Make CUPS filter paths in the PPDs absolute"
+# sed -i 's,0 epson-escpr-wrapper,0 @CUPS_FILTER_DIR@/epson-escpr-wrapper,' $(DESTDIR)$(cupsppddir)/*.ppd
+#endif
+ @echo "Make CUPS filter paths in the PPDs absolute"
+ $(SED) -i '' 's,0 epson-escpr-wrapper,0 @CUPS_FILTER_DIR@/epson-escpr-wrapper,' $(DESTDIR)$(cupsppddir)/*.ppd