Mk/Uses/readline.mk: Restore functionality for DragonFly
For minimal breakage reasons, DragonFly has OSVERSION set to the equivalent of FreeBSD 99. When the readline compatibility for FreeBSD 10 was revoked recently, it broke a lot of dports. Restore the default to how it was before on DragonFly only to restore those ports using OPSYS. Approved by: portmgr (bapt)
This commit is contained in:
parent
88d3cb2512
commit
74db0bce11
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327361
1 changed files with 4 additions and 1 deletions
|
@ -12,9 +12,12 @@
|
|||
.if !defined(_INCLUDE_USES_READLINE_MK)
|
||||
_INCLUDE_USES_READLINE_MK= yes
|
||||
|
||||
#.if ${OSVERSION} > 1000000
|
||||
#.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
|
||||
#readline_ARGS= port
|
||||
#.endif
|
||||
.if ${OPSYS} == DragonFly
|
||||
readline_ARGS= port
|
||||
.endif
|
||||
|
||||
.if defined(readline_ARGS) && ${readline_ARGS} == port
|
||||
LIB_DEPENDS+= libreadline.so.6:${PORTSDIR}/devel/readline
|
||||
|
|
Loading…
Reference in a new issue