diff options
author | minskim <minskim@pkgsrc.org> | 2019-11-20 23:34:36 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2019-11-20 23:34:36 +0000 |
commit | 2f8edd9d9f20c21d0735f1253bfa04cb160e622b (patch) | |
tree | 42847328332db4c59fbfa8633a78b45b0725b280 /graphics/py-Pillow | |
parent | a8c59add2a841f2518f08fafbecf914cba4e203e (diff) | |
download | pkgsrc-2f8edd9d9f20c21d0735f1253bfa04cb160e622b.tar.gz |
graphics/py-Pillow: Skip zlib header search
pkgsrc always provides zlib.h.
This makes py-Pillow build on Darwin.
Diffstat (limited to 'graphics/py-Pillow')
-rw-r--r-- | graphics/py-Pillow/distinfo | 4 | ||||
-rw-r--r-- | graphics/py-Pillow/patches/patch-setup.py | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/graphics/py-Pillow/distinfo b/graphics/py-Pillow/distinfo index acbbbaf191a..cdc9007d41b 100644 --- a/graphics/py-Pillow/distinfo +++ b/graphics/py-Pillow/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.40 2019/10/22 18:45:02 adam Exp $ +$NetBSD: distinfo,v 1.41 2019/11/20 23:34:36 minskim Exp $ SHA1 (Pillow-6.2.1.tar.gz) = efb43a7be73f13cd300fa30f3f21634cfa3d6056 RMD160 (Pillow-6.2.1.tar.gz) = b6a0743f45072e5000f4d985dc1274d32bb7a40b SHA512 (Pillow-6.2.1.tar.gz) = 757bfdab2ba418195e96e696d2d111de3b38b6bafe4f6f94012f024f59c9bc8542fdab54f643eaf7b2867a9214db806e72eecbdd636bfceb55b47d3164f643ec Size (Pillow-6.2.1.tar.gz) = 37673162 bytes -SHA1 (patch-setup.py) = 08af410697c6d0e01cf2c2b4955b8707a1807fdd +SHA1 (patch-setup.py) = 5a7b2d56532e6688bfe1a0349d4c3136a7c26d2a diff --git a/graphics/py-Pillow/patches/patch-setup.py b/graphics/py-Pillow/patches/patch-setup.py index 8a669df225c..96baa71867a 100644 --- a/graphics/py-Pillow/patches/patch-setup.py +++ b/graphics/py-Pillow/patches/patch-setup.py @@ -1,4 +1,4 @@ -$NetBSD: patch-setup.py,v 1.21 2019/10/22 18:45:03 adam Exp $ +$NetBSD: patch-setup.py,v 1.22 2019/11/20 23:34:36 minskim Exp $ Disable mp_compile hack; it has problems with native parallel building. @@ -25,3 +25,12 @@ Disable mp_compile hack; it has problems with native parallel building. for x in self.feature: if getattr(self, "disable_%s" % x): setattr(self.feature, x, False) +@@ -539,7 +532,7 @@ class pil_build_ext(build_ext): + + if feature.want("zlib"): + _dbg("Looking for zlib") +- if _find_include_file(self, "zlib.h"): ++ if True or _find_include_file(self, "zlib.h"): + if _find_library_file(self, "z"): + feature.zlib = "z" + elif sys.platform == "win32" and _find_library_file(self, "zlib"): |