Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 13:56:00 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r303967 - head/devel/gdb
Message-ID:  <201209091356.q89Du0Ps087550@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Sep  9 13:56:00 2012
New Revision: 303967
URL: http://svn.freebsd.org/changeset/ports/303967

Log:
  - Switch readline lib dependency to USE_READLINE
    to ensure the port version is always used. This
    also makes portlint happy and still does the right
    thing.
  
  PR:		ports/171325
  Submitted by:	bdrewery
  Approved by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
  Approved by:	eadler (mentor)

Modified:
  head/devel/gdb/Makefile

Modified: head/devel/gdb/Makefile
==============================================================================
--- head/devel/gdb/Makefile	Sun Sep  9 13:54:16 2012	(r303966)
+++ head/devel/gdb/Makefile	Sun Sep  9 13:56:00 2012	(r303967)
@@ -40,10 +40,8 @@ MAN1=	gdb${VER}.1
 ONLY_FOR_ARCHS=	i386 amd64	# untested elsewhere, might work
 
 # Forcing to use readline.6 from ports (newer readline in FreeBSD world is not
-# compatible anymore). Please ignore portlint here.
-LIB_DEPENDS+=	readline.6:${PORTSDIR}/devel/readline
-CFLAGS+=	-isystem ${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+# compatible anymore).
+USE_READLINE=	port
 
 OPTIONS_DEFINE=	DEBUG EXPAT PYTHON THREADS GDB_LINK
 GDB_LINK_DESC=	Create the gdb link



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