mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
c783713567
- Correct the path of snmp (lib -> libexec). - Do not comment out the debugprint or it crashes when try to add printer from samba. Approved by: ahze (maintainer)
21 lines
810 B
Python
21 lines
810 B
Python
--- cupshelpers/cupshelpers.py.orig 2008-07-09 06:23:44.000000000 -0500
|
|
+++ cupshelpers/cupshelpers.py 2008-07-26 13:33:50.596144479 -0500
|
|
@@ -699,7 +699,7 @@
|
|
|
|
# First, a local function. How to check that something exists
|
|
# in a path:
|
|
- def pathcheck (name, path="/usr/bin:/bin"):
|
|
+ def pathcheck (name, path="%%LOCALBASE%%/bin:/usr/bin:/bin:%%PREFIX%%/bin"):
|
|
# Strip out foomatic '%'-style place-holders.
|
|
p = name.find ('%')
|
|
if p != -1:
|
|
@@ -794,7 +794,7 @@
|
|
continue
|
|
|
|
exepath = pathcheck (exe,
|
|
- "/usr/lib/cups/filter:"
|
|
+ "%%LOCALBASE%%/libexec/cups/filter:"
|
|
"/usr/lib64/cups/filter")
|
|
|
|
if exe and not exepath:
|