svn commit: r303967 - head/devel/gdb

Bryan Drewery bdrewery at FreeBSD.org
Sun Sep 9 13:56:01 UTC 2012


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



More information about the svn-ports-all mailing list