Help linker find -liconv in some cases.

Notified by:	Abdullah Ibn Hamad Al-Marri
This commit is contained in:
Mikhail Teterin 2007-06-29 13:14:33 +00:00
parent 812f782435
commit a308b9041f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194459
2 changed files with 2 additions and 0 deletions

View file

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

View file

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