forked from Lainports/opnsense-ports
lang/python27: sync with upstream
Taken from: HardenedBSD
This commit is contained in:
parent
eb1a584fa9
commit
da7dc05af4
1 changed files with 0 additions and 7 deletions
|
|
@ -109,13 +109,6 @@ PLIST_SUB+= NO_NIS=""
|
|||
.endif
|
||||
|
||||
post-patch:
|
||||
# readline shared library is present on base before FreeBSD 11 - r268461
|
||||
# force setup.py ignore base and use readline from ports
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
|
||||
@${REINPLACE_CMD} -e \
|
||||
"s|lib_dirs,\ \'readline\'|[\'${LOCALBASE}/lib\',\ \'.\'],\ \'readline\'|" \
|
||||
${WRKSRC}/setup.py
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e 's|/usr/local/bin/python|${python_CMD}|' \
|
||||
${WRKSRC}/Lib/cgi.py
|
||||
@${REINPLACE_CMD} -e \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue