summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2013-09-15 22:15:58 +0000
committerJohn Marino <marino@FreeBSD.org>2013-09-15 22:15:58 +0000
commit74db0bce115a4da6f2f5c30fde6e188246066229 (patch)
treefbb95068aaa187d4751f1f53c8d830e9376cf341 /Mk
parent- Set make_jobs_unsafe. (diff)
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)
Notes
Notes: svn path=/head/; revision=327361
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/readline.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/Uses/readline.mk b/Mk/Uses/readline.mk
index c9f6161d250e..9e91edf1b960 100644
--- a/Mk/Uses/readline.mk
+++ b/Mk/Uses/readline.mk
@@ -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