Index: devel/sdl12/Makefile =================================================================== --- devel/sdl12/Makefile (revision 343722) +++ devel/sdl12/Makefile (working copy) @@ -70,6 +70,10 @@ PKGMESSAGE= none DISPLAY_MSG= ${DO_NADA} .endif +post-patch: + @${REINPLACE_CMD} -e '/EXTRA_LDFLAGS/s/-liconv/${ICONV_LIB}/' \ + ${WRKSRC}/configure + post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} &&\ ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ &&\ Index: graphics/sdl_ttf/Makefile =================================================================== --- graphics/sdl_ttf/Makefile (revision 343722) +++ graphics/sdl_ttf/Makefile (working copy) @@ -16,7 +16,7 @@ LIB_DEPENDS= libfreetype.so:${PORTSDIR}/ USE_AUTOTOOLS= libtool USE_SDL= sdl -USES= gmake pathfix pkgconfig +USES= gmake iconv pathfix pkgconfig USE_XORG= x11 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include