diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-10-10 11:02:23 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-10-10 11:02:23 +0000 |
commit | 1efb159e83f6cf2e8f1d80dad23502bf65d745ee (patch) | |
tree | ca8b3fff5757cecc6c663078f55c3bdce8acf7e2 /security | |
parent | 9496e58a0728ef85ac7a30c98d335522cf1643c4 (diff) |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/py-gnutls/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/security/py-gnutls/Makefile b/security/py-gnutls/Makefile index 30d9f5b003fe..c91307054b27 100644 --- a/security/py-gnutls/Makefile +++ b/security/py-gnutls/Makefile @@ -19,8 +19,6 @@ COMMENT= Python wrapper for the GNUTLS library LIB_DEPENDS= gnutls.40:${PORTSDIR}/security/gnutls RUN_DEPENDS= ${PYCTYPES} -BROKEN= does not compile - USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= python_gnutls @@ -28,8 +26,9 @@ PYDISTUTILS_PKGNAME= python_gnutls EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} post-patch: - ${REINPLACE_CMD} -e "s|include_dirs=\[\]|include_dirs=\['${LOCALBASE}/include'\]|" ${WRKSRC}/setup.py - ${REINPLACE_CMD} -e "s|library_dirs=\[\]|library_dirs=\['${LOCALBASE}/lib'\]|" ${WRKSRC}/setup.py + ${REINPLACE_CMD} -e "s|include_dirs=.*|include_dirs=\['${LOCALBASE}/include'\],|" ${WRKSRC}/setup.py + ${REINPLACE_CMD} -e "s|library_dirs=.*|library_dirs=\['${LOCALBASE}/lib'\],|" ${WRKSRC}/setup.py + ${REINPLACE_CMD} -e "s|\.26||g" ${WRKSRC}/gnutls/library/functions.py .if !defined(NOPORTEXAMPLES) post-install: |