Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 01:19:10 +0400 (MSK)
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        luca.pizzamiglio@gmail.com
Subject:   ports/170429: [PATCH] devel/gdb: Really depend on readline from ports
Message-ID:  <201208062119.q76LJAZo064239@phoenix.xvoid.org>
Resent-Message-ID: <201208062130.q76LU3En010443@freefall.freebsd.org>

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

>Number:         170429
>Category:       ports
>Synopsis:       [PATCH] devel/gdb: Really depend on readline from ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 06 21:30:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Yuri Pankov
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD phoenix.xvoid.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r239046: Sun Aug  5 10:58:12
>Description:
Removing ABI version number from LIB_DEPENDS to pet portlint broke gdb build when readline from ports isn't installed before gdb build.

Port maintainer (luca.pizzamiglio@gmail.com) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: CVS)
>How-To-Repeat:
pkg_delete -x readline
try to build devel/gdb
>Fix:

--- gdb-7.4.1_4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/gdb/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile	3 Aug 2012 02:00:58 -0000	1.21
+++ Makefile	6 Aug 2012 21:13:40 -0000
@@ -40,7 +40,7 @@
 
 # Forcing to use the readline from ports (readline in FreeBSD world is not
 # compatible anymore).
-LIB_DEPENDS+=	readline:${PORTSDIR}/devel/readline
+LIB_DEPENDS+=	readline.6:${PORTSDIR}/devel/readline
 CFLAGS+=	-isystem ${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
--- gdb-7.4.1_4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208062119.q76LJAZo064239>