$OpenBSD: patch-src_coccigrep_py,v 1.1.1.1 2011/09/15 20:20:06 sthen Exp $
--- src/coccigrep.py.orig	Sun Sep  4 22:34:12 2011
+++ src/coccigrep.py	Wed Sep  7 01:09:50 2011
@@ -77,7 +77,7 @@ class CocciRunException(CocciException):
 _CONF_FILES = tuple((path.join(dirname, name_format % 'coccigrep')
     for dirname, name_format in
     ((path.dirname(__file__), '%s.cfg'),
-    ('/etc', '%s'),
+    ('${SYSCONFDIR}', '%s'),
     (path.expanduser('~'), '.%s'),
     (getcwd(), '.%s'))))
 
