aboutsummaryrefslogtreecommitdiff
path: root/devel/rlwrap
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2004-07-10 03:00:15 +0000
committerMark Linimon <linimon@FreeBSD.org>2004-07-10 03:00:15 +0000
commit75b4772c341be8ec37f1cc17bbd372f249deb177 (patch)
treec5e24ff75dc9f4cd3df44c4c0a8e0ac00e876f9a /devel/rlwrap
parent1105aa3a9888f3e3222d6a41543da6dfdd3c7de5 (diff)
downloadports-75b4772c341be8ec37f1cc17bbd372f249deb177.tar.gz
ports-75b4772c341be8ec37f1cc17bbd372f249deb177.zip
Notes
Diffstat (limited to 'devel/rlwrap')
-rw-r--r--devel/rlwrap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/rlwrap/Makefile b/devel/rlwrap/Makefile
index 9024ae71f12a..933a3c770e46 100644
--- a/devel/rlwrap/Makefile
+++ b/devel/rlwrap/Makefile
@@ -24,7 +24,13 @@ MAN1= rlwrap.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500018
-IGNORE= "Requires readline 4.2 or newer, only available in recent versions of FreeBSD 5.x"
+# This port requires readline 4.2 or newer, which is only available
+# in the base system in FreeBSD 5.x.
+BUILD_DEPENDS+= ${PREFIX}/lib/libreadline.so.4:${PORTSDIR}/devel/readline
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+# Make sure the dynamic linker does not pick up
+# the older libreadline library from the base system.
+LDFLAGS+= -rpath ${PREFIX}/lib
.endif
.include <bsd.port.post.mk>