Package: python-pylibacl
Version: 0.4.0-2
Severity: normal

Hi,

python-pylibacl currently fails to build on Debian GNU/Hurd because it doesn't recognize GNU as an OS. Attached is a patch to resolve this.

Thanks,

Barry deFreese


--- python-pylibacl-0.4.0.orig/setup.py
+++ python-pylibacl-0.4.0/setup.py
@@ -22,6 +22,10 @@
         macros.append(("HAVE_LEVEL2", None))
 elif u_sysname == "Darwin":
     libs.append("pthread")
+elif u_sysname == "GNU":
+    macros.append(("HAVE_LINUX", None))
+    macros.append(("HAVE_LEVEL2", None))
+    libs.append("acl")
 else:
     raise ValueError("I don't know your system '%s'."
                      " Please contact the author" % u_sysname)

Reply via email to