Package: python-pylibacl Severity: important Version: 0.2.1-3.1 Tags: patch
Hi, the current version fails to build on GNU/kFreeBSD. It small tweak, see attached patch. It would also be nice if you can ask upstream to include this changes. Thanks in advance Petr
--- python-pylibacl-0.2.1.orig/setup.py +++ python-pylibacl-0.2.1/setup.py @@ -11,11 +11,15 @@ macros.append(("HAVE_LINUX", None)) macros.append(("HAVE_LEVEL2", None)) libs.append("acl") +if u_sysname == "GNU/kFreeBSD": + macros.append(("HAVE_LINUX", None)) + macros.append(("HAVE_LEVEL2", None)) + libs.append("acl") elif u_sysname == "FreeBSD": macros.append(("HAVE_FREEBSD", None)) libs.append("posix1e") else: - raise ValueError("I don't know your system. Please contact the author") + raise ValueError("I don't know your system: " + u_sysname+ ". Please contact the author") long_desc = """This is a C extension module for Python which implements POSIX ACLs manipulation. It is a wrapper on top