- Mark broken on 9.x:

app.c: In function 'xmlsec_TransformHmacSha256Id':
app.c:349: error: 'xmlSecOpenSSLTransformHmacSha256Id' undeclared (first use in this function)
app.c:349: error: (Each undeclared identifier is reported only once
app.c:349: error: for each function it appears in.)
app.c: In function 'xmlsec_TransformRsaSha256Id':
app.c:430: error: 'xmlSecOpenSSLTransformRsaSha256Id' undeclared (first use in this function)
app.c: In function 'xmlsec_TransformSha256Id':
app.c:488: error: 'xmlSecOpenSSLTransformSha256Id' undeclared (first use in this function)
error: command 'cc' failed with exit status 1

- Add missing USES=ssl
- Remove NO_ARCH, this port installs a shared library
This commit is contained in:
Dmitry Marakasov 2016-10-25 09:01:40 +00:00
parent 0bfac83960
commit 7fb33dee92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424609

View file

@ -18,19 +18,20 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libxmlsec1.so:security/xmlsec1
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2
OPTIONS_DEFINE= DOCS EXAMPLES
BROKEN_FreeBSD_9= does not build
USES= python:2
USES= python:2 ssl
USE_PYTHON= distutils autoplist
NO_ARCH= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/xmlsecmod.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/xmlsecmod.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}