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:
John Marino 2013-09-15 22:15:58 +00:00
parent 88d3cb2512
commit 74db0bce11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327361

View file

@ -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