Lines 18-23
Link Here
|
18 |
USES= python |
18 |
USES= python |
19 |
USE_PYTHON= autoplist distutils cython |
19 |
USE_PYTHON= autoplist distutils cython |
20 |
|
20 |
|
|
|
21 |
.include <bsd.port.pre.mk> |
22 |
|
23 |
.if ${PYTHON_MAJOR_VER} == 3 |
24 |
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-pymssql.pyx |
25 |
.endif |
26 |
|
21 |
post-extract: |
27 |
post-extract: |
22 |
@${RM} ${WRKSRC}/_mssql.c |
28 |
@${RM} ${WRKSRC}/_mssql.c |
23 |
|
29 |
|
Lines 25-28
Link Here
|
25 |
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_mssql.so \ |
31 |
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_mssql.so \ |
26 |
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pymssql.so |
32 |
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pymssql.so |
27 |
|
33 |
|
28 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.post.mk> |