ports/170429: [PATCH] devel/gdb: Really depend on readline from ports

Yuri Pankov yuri.pankov at gmail.com
Mon Aug 6 21:30:03 UTC 2012


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



More information about the freebsd-ports-bugs mailing list