summaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2006-08-28 18:43:22 +0000
committerStefan Walter <stefan@FreeBSD.org>2006-08-28 18:43:22 +0000
commit73d9f8c3b782151fe4ff9b373be85386849ac737 (patch)
tree0257ebeee122564b9d97d7d79697204bb1ad19ff /math/scilab
parent- Update to bsd.java.mk 2.0 (diff)
Add readline as dependency when it was already installed. The program will be
linked against it anyway, not against a system one. PR: 101442 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=171575
Diffstat (limited to 'math/scilab')
-rw-r--r--math/scilab/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 9614b8ed0e81..0d38aaf41bc9 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -60,7 +60,7 @@ CONFIGURE_ARGS+= --without-pvm
USE_GNOME= pkgconfig gtk20 libgtkhtml vte
CONFIGURE_ARGS+= --with-gtk2
PLIST_SUB+= GTK2="" NOGTK2="@comment "
-.if ${OSVERSION} < 500000
+.if ${OSVERSION} < 500000 || exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif
.else