diff --git a/python/py-reportlab/Portfile b/python/py-reportlab/Portfile
index 2d28f0e..14eef65 100644
a
|
b
|
if {${name} ne ${subport}} { |
41 | 41 | distname reportlab-${version} |
42 | 42 | |
43 | 43 | patchfiles-append patch-src_reportlab_lib_testutils.py.diff |
44 | | } elseif {${subport} eq "py27-reportlab"} { |
45 | | depends_lib-append port:py${python.version}-pil |
46 | 44 | } else { |
47 | | depends_lib-append port:py${python.version}-Pillow |
| 45 | depends_lib-append path:${python.pkgd}/PIL:py${python.version}-Pillow |
48 | 46 | } |
49 | 47 | |
50 | 48 | post-destroot { |