openbsd-ports/print/system-config-printer/patches/patch-Makefile_in

46 lines
1.6 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.8 2011/05/04 09:10:52 ajacoutot Exp $
--- Makefile.in.orig Fri Mar 18 17:07:11 2011
+++ Makefile.in Wed May 4 10:36:00 2011
@@ -434,7 +434,7 @@ dbus_DATA = \
dbus/com.redhat.NewPrinterNotification.conf \
dbus/com.redhat.PrinterDriversInstaller.conf
-dbusdir = $(sysconfdir)/dbus-1/system.d/
+dbusdir = $(datadir)/examples/system-config-printer/
dbusinterfaces_DATA = \
dbus/org.fedoraproject.Config.Printing.xml
@@ -1551,7 +1551,7 @@ update-po: missing-languages
$(MAKE) -C po update-po
missing-languages:
- bash -c '\
+ sh -c '\
eval $$(grep ALL_LINGUAS configure.in); \
diff -u <(echo $$ALL_LINGUAS | xargs -rn1 echo) \
<(cd po; ls -1 *.po | sed -e "s,\.po$$,,")'
@@ -1584,7 +1584,7 @@ run-dbus-service: config.py cupshelpers/config.py
$(PYTHON) $(top_srcdir)/scp-dbus-service.py --debug
test-xmldriverprefs: cupshelpers/xmldriverprefs.py xml/preferreddrivers.xml
- python -c 'from cupshelpers.xmldriverprefs import test; test()' \
+ $(PYTHON) -c 'from cupshelpers.xmldriverprefs import test; test()' \
2>&1 | less
help:
@@ -1607,12 +1607,12 @@ test-ppd-module.sh: FORCE
chmod 755 "$@"
test-xml-validity.sh: FORCE
- echo "#!/bin/bash" > "$@"
+ echo "#!/bin/sh" > "$@"
echo "set -e" >> "$@"
echo "xmllint --relaxng \\" >> "$@"
echo " $(top_srcdir)/xml/preferreddrivers.rng \\" >> "$@"
echo " $(top_srcdir)/xml/preferreddrivers.xml >/dev/null" >> "$@"
- echo "python $(top_srcdir)/xml/validate.py \\" >> "$@"
+ echo "$(PYTHON) $(top_srcdir)/xml/validate.py \\" >> "$@"
echo " $(top_srcdir)/xml/preferreddrivers.xml" >> "$@"
chmod 755 "$@"