aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/readline.mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-11-05 22:26:41 +0800
committerbapt <bapt@FreeBSD.org>2013-11-05 22:26:41 +0800
commite550d0979ecf085e7d261d32e909c67fa547b62c (patch)
treef36f2b795ba3ff94d863746a3cb226aafe050d5f /Mk/Uses/readline.mk
parentc1a2a58b68f5d8962b455567012a159252948b96 (diff)
downloadfreebsd-ports-gnome-e550d0979ecf085e7d261d32e909c67fa547b62c.tar.gz
freebsd-ports-gnome-e550d0979ecf085e7d261d32e909c67fa547b62c.tar.zst
freebsd-ports-gnome-e550d0979ecf085e7d261d32e909c67fa547b62c.zip
Now that tinderbox knows how to properly check this, tests on OSVERSIONS are useless, just check is libreadline.so is in base
With hat: portmgr
Diffstat (limited to 'Mk/Uses/readline.mk')
-rw-r--r--Mk/Uses/readline.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/Mk/Uses/readline.mk b/Mk/Uses/readline.mk
index 9e91edf1b960..be37246ed8ac 100644
--- a/Mk/Uses/readline.mk
+++ b/Mk/Uses/readline.mk
@@ -12,10 +12,7 @@
.if !defined(_INCLUDE_USES_READLINE_MK)
_INCLUDE_USES_READLINE_MK= yes
-#.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
-#readline_ARGS= port
-#.endif
-.if ${OPSYS} == DragonFly
+.if !exists(/usr/lib/libreadline.so)
readline_ARGS= port
.endif