openbsd-ports

OpenBSD Ports customizations and WIP
git clone git://git.danielmoch.com/openbsd-ports.git
Log | Files | Refs

patch-bindings_python_notmuch_globals_py (448B)


      1 $OpenBSD$
      2 
      3 Index: bindings/python/notmuch/globals.py
      4 --- bindings/python/notmuch/globals.py.orig
      5 +++ bindings/python/notmuch/globals.py
      6 @@ -27,7 +27,7 @@ try:
      7      if uname()[0] == 'Darwin':
      8          nmlib = CDLL("libnotmuch.{0:s}.dylib".format(SOVERSION))
      9      else:
     10 -        nmlib = CDLL("libnotmuch.so.{0:s}".format(SOVERSION))
     11 +        nmlib = CDLL("libnotmuch.so")
     12  except:
     13      raise ImportError("Could not find shared 'notmuch' library.")
     14