From 6a56267f63c0a68fc4aaed0b8865c2cbc822506f Mon Sep 17 00:00:00 2001
From: vs <vs@FreeBSD.org>
Date: Wed, 23 Jun 2004 09:14:04 +0000
Subject: Unbreak: Add dependency on devel/readline for systems that need it

---
 math/rascal/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'math/rascal')

diff --git a/math/rascal/Makefile b/math/rascal/Makefile
index 321a08c98e60..c863041ce94d 100644
--- a/math/rascal/Makefile
+++ b/math/rascal/Makefile
@@ -31,8 +31,9 @@ MAN1=	rascal.1
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500018
-BROKEN=		"Requires readline 4.2 or newer"
+.if ${OSVERSION} < 502000
+BUILD_DEPENDS=	${LOCALBASE}/lib/libreadline.so.4:${PORTSDIR}/devel/readline
+RUN_DEPENDS=	${LOCALBASE}/lib/libreadline.so.4:${PORTSDIR}/devel/readline
 .endif
 
 .if ${HAVE_GNOME:Mgnomelibs}!=""
-- 
cgit