summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2004-07-10 03:00:15 +0000
committerlinimon <linimon@FreeBSD.org>2004-07-10 03:00:15 +0000
commitb3fe1ab52ae9195c25895c25af66314947bb6322 (patch)
tree9f59f09b44fb980ba9ec5dd10bfb414f9815ed92 /devel
parent8d83bfd8ed58aa4f54cb6e6961cb094574e1aeea (diff)
downloadFreeBSD-ports-b3fe1ab52ae9195c25895c25af66314947bb6322.zip
FreeBSD-ports-b3fe1ab52ae9195c25895c25af66314947bb6322.tar.gz
Include dependency on devel/readline to try to unbreak on 4.x.
PR: ports/68852 Submitted by: Martin Kammerhofer <dada at sbox dot tugraz dot at>
Diffstat (limited to 'devel')
-rw-r--r--devel/rlwrap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/rlwrap/Makefile b/devel/rlwrap/Makefile
index 9024ae7..933a3c7 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>
OpenPOWER on IntegriCloud