ports/68852: [PATCH] port devel/rlwrap does not build on 4.X
dada at sbox.tugraz.at
dada at sbox.tugraz.at
Fri Jul 9 11:50:21 UTC 2004
>Number: 68852
>Category: ports
>Synopsis: [PATCH] port devel/rlwrap does not build on 4.X
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 09 11:50:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Martin Kammerhofer
>Release: FreeBSD 4.10-STABLE i386
>Organization:
Graz UNI
>Environment:
System: FreeBSD Martin.liebt.Susi 4.10-STABLE FreeBSD 4.10-STABLE #2: Wed Jul 7 19:43:28 CEST 2004 toor at Martin.liebt.Susi:/usr/src/sys/compile/GEIDORF4 i386
>Description:
The port is conditionally disabled for ${OSVERSION} < 500018.
However building/running on older systems needs only a tiny patch.
>How-To-Repeat:
make install
>Fix:
(Note: LIB_DEPENDS is not useful in this case.)
--- Makefile.orig Fri Feb 20 16:57:38 2004
+++ Makefile Fri Jul 9 12:58:50 2004
@@ -23,7 +23,13 @@
.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,
+# only available in recent versions of 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>
--=_3rce5282ef0g--
>Release-Note:
>Audit-Trail:
>Unformatted:
This message is in MIME format.
--=_3rce5282ef0g
Content-Type: text/plain; charset="ISO-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
--=_3rce5282ef0g
Content-Type: text/plain; charset="ISO-8859-1"; name="rlwrap-PR"
Content-Disposition: inline; filename="rlwrap-PR"
Content-Transfer-Encoding: 7bit
More information about the freebsd-ports-bugs
mailing list