Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 05:57:50 +0200
From:      Jan Beich <jbeich@tormail.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172079: [patch] bsd.port.mk: allow using base readline on 10.0
Message-ID:  <1TGino-000MW8-JC@internal.tormail.org>
Resent-Message-ID: <201209260410.q8Q4A9EK077485@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1TGino-000MW8-JC>