summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorgson <gson@pkgsrc.org>2017-11-23 15:05:03 +0000
committergson <gson@pkgsrc.org>2017-11-23 15:05:03 +0000
commited914aaeec3821e9c3a31cd951cfac179422cd65 (patch)
tree327da960cddc659c99090a9a70d04a53d3a61b53 /security
parentaa9c8d4e5da11b9cc28a18370b946a630e526f8a (diff)
downloadpkgsrc-ed914aaeec3821e9c3a31cd951cfac179422cd65.tar.gz
Fix files in .destdir but not in PLIST, modelled after
devel/py-backports.functools_lru_cache.
Diffstat (limited to 'security')
-rw-r--r--security/py-backports.ssl_match_hostname/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/py-backports.ssl_match_hostname/Makefile b/security/py-backports.ssl_match_hostname/Makefile
index a6f7a72cb0e..f4f227c6b67 100644
--- a/security/py-backports.ssl_match_hostname/Makefile
+++ b/security/py-backports.ssl_match_hostname/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2017/11/22 11:00:24 markd Exp $
+# $NetBSD: Makefile,v 1.9 2017/11/23 15:05:03 gson Exp $
DISTNAME= backports.ssl_match_hostname-3.5.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -15,5 +15,8 @@ DEPENDS+= ${PYPKGPREFIX}-backports-[0-9]*:../../devel/py-backports
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # included in 3.2+
+post-install:
+ rm ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.*
+
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"