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:
@@ -121,15 +121,6 @@ DISABLED_EXTENSIONS+= nis
|
||||
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
|
||||
|
||||
post-install:
|
||||
.if ! ${PORT_OPTIONS:MDEBUG}
|
||||
${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so # Upstream Issue: https://bugs.python.org/issue17975
|
||||
|
||||
Reference in New Issue
Block a user