aboutsummaryrefslogtreecommitdiff
path: root/security/py-kerberos/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-kerberos/Makefile')
-rw-r--r--security/py-kerberos/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/security/py-kerberos/Makefile b/security/py-kerberos/Makefile
index 74295d986473..7f9f29579ccb 100644
--- a/security/py-kerberos/Makefile
+++ b/security/py-kerberos/Makefile
@@ -16,9 +16,8 @@ LICENSE= APACHE20
BUILD_DEPENDS= libkrb5-config.so:${PORTSDIR}/security/krb5
LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} -e 's|krb5|${PREFIX}/bin/krb5|g' ${WRKSRC}/setup.py