svn commit: r384930 - head/devel/gdb66

Jan Beich jbeich at FreeBSD.org
Tue Apr 28 17:55:42 UTC 2015


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


More information about the svn-ports-all mailing list