openbsd-ports/print/py-cups/patches/patch-setup_py
ajacoutot b0370eb3d1 Better way to link with libiconv.
adapted from an original diff by Vadim Zhukov
2012-10-21 18:39:00 +00:00

13 lines
369 B
Plaintext

$OpenBSD: patch-setup_py,v 1.7 2012/10/21 18:39:00 ajacoutot Exp $
--- setup.py.orig Wed Aug 1 13:05:19 2012
+++ setup.py Sun Oct 21 20:35:59 2012
@@ -38,7 +38,7 @@ import sys
VERSION="1.9.62"
libraries=["cups"]
-if sys.platform == "darwin":
+if sys.platform == "darwin" or sys.platform.startswith("openbsd"):
libraries.append ("iconv")
setup (name="pycups",