From a308b9041f5e025f69646025cff018d1d88bf481 Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Fri, 29 Jun 2007 13:14:33 +0000 Subject: [PATCH] Help linker find -liconv in some cases. Notified by: Abdullah Ibn Hamad Al-Marri --- devel/gdb6/Makefile | 1 + devel/gdb66/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/devel/gdb6/Makefile b/devel/gdb6/Makefile index 5f94d678925f..0255ae3bb091 100644 --- a/devel/gdb6/Makefile +++ b/devel/gdb6/Makefile @@ -77,6 +77,7 @@ post-patch: ${WRKSRC}/gdb/version.in @${REINPLACE_CMD} -e 's/^READLINE/#READLINE/' \ -e 's/^readline/#readline/' \ + -e 's,^LIBICONV =.*,LIBICONV=-L${LOCALBASE}/lib -liconv,' \ ${WRKSRC}/gdb/Makefile.in ${ECHO} 'READLINE = -lreadline' >> ${WRKSRC}/gdb/Makefile.in diff --git a/devel/gdb66/Makefile b/devel/gdb66/Makefile index 5f94d678925f..0255ae3bb091 100644 --- a/devel/gdb66/Makefile +++ b/devel/gdb66/Makefile @@ -77,6 +77,7 @@ post-patch: ${WRKSRC}/gdb/version.in @${REINPLACE_CMD} -e 's/^READLINE/#READLINE/' \ -e 's/^readline/#readline/' \ + -e 's,^LIBICONV =.*,LIBICONV=-L${LOCALBASE}/lib -liconv,' \ ${WRKSRC}/gdb/Makefile.in ${ECHO} 'READLINE = -lreadline' >> ${WRKSRC}/gdb/Makefile.in