ports/172079: [patch] bsd.port.mk: allow using base readline on 10.0
Jan Beich
jbeich at tormail.org
Wed Sep 26 04:10:10 UTC 2012
>Number: 172079
>Category: ports
>Synopsis: [patch] bsd.port.mk: allow using base readline on 10.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Sep 26 04:10:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jan Beich
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
blocks ports/172077
>Description:
libreadline is still present on 10.0-CURRENT. Let's avoid using
imaginary OSVERSION values.
>How-To-Repeat:
>Fix:
--- base_readline.diff begins here ---
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk (revision 304639)
+++ Mk/bsd.port.mk (working copy)
@@ -1699,7 +1710,7 @@ MAKE_ENV+= ${b}="${${b}}"
.endif
.if defined(USE_READLINE)
-.if ${USE_READLINE} == "port" || ${OSVERSION} > 1000000
+.if ${USE_READLINE} == "port"
LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lreadline
--- base_readline.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list