$OpenBSD: patch-base_g_py,v 1.3 2009/08/20 08:07:48 ajacoutot Exp $
--- base/g.py.orig	Tue Aug  4 23:37:32 2009
+++ base/g.py	Thu Aug 20 09:24:10 2009
@@ -144,12 +144,12 @@ class ConfigBase(object):
 
 class SysConfig(ConfigBase):
     def __init__(self):
-        ConfigBase.__init__(self, '/etc/hp/hplip.conf')
+        ConfigBase.__init__(self, '${SYSCONFDIR}/hp/hplip.conf')
 
 
 class State(ConfigBase):
     def __init__(self):
-        ConfigBase.__init__(self, '/var/lib/hp/hplip.state')
+        ConfigBase.__init__(self, '/var/db/hp/hplip.state')
 
 
 class UserConfig(ConfigBase):
@@ -247,7 +247,7 @@ prop.max_message_len = 8192
 prop.max_message_read = 65536
 prop.read_timeout = 90
 
-prop.ppd_search_path = '/usr/share;/usr/local/share;/usr/lib;/usr/local/lib;/usr/libexec;/opt;/usr/lib64'
+prop.ppd_search_path = '/usr/share;${LOCALBASE}/share;${LOCALBASE}/share/foomatic/db/source/PPD/HP;/usr/lib;/usr/local/lib;/usr/libexec;/opt;/usr/lib64'
 prop.ppd_search_pattern = 'HP-*.ppd.*'
 prop.ppd_download_url = 'http://www.linuxprinting.org/ppd-o-matic.cgi'
 prop.ppd_file_suffix = '-hpijs.ppd'
