On Fri, 21 Feb 2014 17:00:46 +0100 Tijl Coosemans wrote:
> On Mon, 10 Feb 2014 19:17:12 +0100 Tomasz Sowa wrote:
>> emulators/virtualbox-ose doesn't compile when converters/libiconv is
>> installed:
> 
> Please try the attached patch for the port Makefile.

Sorry, that one was incomplete.  This one should work better.
Index: emulators/virtualbox-ose/Makefile
===================================================================
--- emulators/virtualbox-ose/Makefile	(revision 345324)
+++ emulators/virtualbox-ose/Makefile	(working copy)
@@ -220,7 +220,11 @@ post-patch:
 		${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py
 	@${REINPLACE_CMD} -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' ${WRKSRC}/configure
 .if empty(ICONV_LIB)
-	@${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk ${WRKSRC}/src/VBox/Runtime/Makefile.kmk
+	@${REINPLACE_CMD} \
+		-e 's|iconv||' \
+		-e '/TEMPLATE_VBOXBLDPROG_DEFS *:=/s/$$/ LIBICONV_PLUG/' \
+		-e '/TEMPLATE_VBOXR3EXE_DEFS *=/s/$$/ LIBICONV_PLUG/' \
+		${WRKSRC}/Config.kmk ${WRKSRC}/src/VBox/Runtime/Makefile.kmk
 .endif
 
 pre-build:

Attachment: signature.asc
Description: PGP signature

Reply via email to