aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2006-08-29 02:43:22 +0800
committerstefan <stefan@FreeBSD.org>2006-08-29 02:43:22 +0800
commit55ca5252ae143dda1bf12866c602fbc3621e8851 (patch)
tree845568750e05041582a29aa105482149b879c926
parent7711d8e0bb51d41505ed664b1b34f18e89bf4f1c (diff)
downloadfreebsd-ports-gnome-55ca5252ae143dda1bf12866c602fbc3621e8851.tar.gz
freebsd-ports-gnome-55ca5252ae143dda1bf12866c602fbc3621e8851.tar.zst
freebsd-ports-gnome-55ca5252ae143dda1bf12866c602fbc3621e8851.zip
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
-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