aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/gdb6/Makefile1
-rw-r--r--devel/gdb66/Makefile1
2 files changed, 2 insertions, 0 deletions
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