depot/third_party/nixpkgs/pkgs/misc/drivers/epson-alc1100/cups-data-dir.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

13 lines
587 B
Diff

diff --git a/configure b/configure
index 0053441..9a6b855 100755
--- a/configure
+++ b/configure
@@ -2833,7 +2833,7 @@ if test $have_cups_config = yes; then
CUPS_LIBS=`cups-config --libs`
CUPS_IMAGE_LIBS=`cups-config --image --libs`
CUPS_SERVER_DIR=`cups-config --serverbin`
- CUPS_DATA_DIR=`cups-config --datadir`
+ CUPS_DATA_DIR="${prefix}/share/cups"
else
{ { echo "$as_me:$LINENO: error: *** 'cups-config' missing, please install CUPS or fix your \$PATH ***" >&5
echo "$as_me: error: *** 'cups-config' missing, please install CUPS or fix your \$PATH ***" >&2;}