Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased. Submitted by: rene Reviewed by: bapt, jbeich Differential Revision: https://reviews.freebsd.org/D17724
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user