Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2015 17:55:42 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384930 - head/devel/gdb66
Message-ID:  <201504281755.t3SHtgMC018171@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Apr 28 17:55:41 2015
New Revision: 384930
URL: https://svnweb.freebsd.org/changeset/ports/384930

Log:
  Unbreak build against devel/readline (used on 11.0-CURRENT)
  
  libgdb.a(tui-io.o): In function `tui_setup_io':
  tui-io.c:(.text+0x16f8): undefined reference to `readline_echoing_p'

Modified:
  head/devel/gdb66/Makefile

Modified: head/devel/gdb66/Makefile
==============================================================================
--- head/devel/gdb66/Makefile	Tue Apr 28 17:54:31 2015	(r384929)
+++ head/devel/gdb66/Makefile	Tue Apr 28 17:55:41 2015	(r384930)
@@ -37,6 +37,10 @@ PLIST_SUB=	VER=${VER}
 
 .include <bsd.port.options.mk>
 
+.if !exists(/usr/lib/libreadline.so)
+CFLAGS+=	-Dreadline_echoing_p=_rl_echoing_p
+.endif
+
 .if ${PORT_OPTIONS:MINSIGHT}
 PKGNAMESUFFIX=	-insight
 USES+=		tk



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