openbsd-ports/devel/py-silc/patches/patch-setup_py
alek f1537a8e25 Import py-silc 0.4
PySilc is a near-complete set of Python bindings for creating SILC
clients using the silc-toolkit. It allows developers to write
simple bots and clients for connecting to SILC servers.

From Martynas Venckus <martynas@altroot.org>
2006-10-09 13:10:34 +00:00

18 lines
783 B
Plaintext

$OpenBSD: patch-setup_py,v 1.1.1.1 2006/10/09 13:10:34 alek Exp $
--- setup.py.orig Mon Jul 10 10:44:43 2006
+++ setup.py Mon Oct 9 13:23:48 2006
@@ -9,10 +9,11 @@ except:
ext_modules = [
Extension('silc', ['src/pysilc.c'],
- libraries = ['silc', 'silcclient'],
+ library_dirs = ['/usr/lib', '%%LOCALBASE%%/lib'],
+ libraries = ['iconv', 'silc', 'silcclient'],
extra_compile_args = ['-g'],
include_dirs = ['/usr/include/silc-toolkit',
- '/usr/local/include/silc'],
+ '%%LOCALBASE%%/include/silc'],
depends = ['src/pysilc_callbacks.c',
'src/pysilc_channel.c',
'src/pysilc_user.c',