From 2bd0fd70b56e71aa810966d4f950873791dcde9f Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 3 Dec 2006 11:15:15 +0000 Subject: [PATCH] Add support for building on GNU/kFreeBSD --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d048c6d..cba4fa0 100644 --- a/setup.py +++ b/setup.py @@ -11,11 +11,16 @@ if u_sysname == "Linux": macros.append(("HAVE_LINUX", None)) macros.append(("HAVE_LEVEL2", None)) libs.append("acl") +elif 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 '%s'." + " Please contact the author" % u_sysname) long_desc = """This is a C extension module for Python which implements POSIX ACLs manipulation. It is a wrapper on top -- 2.39.2