svn commit: r326937 - head/emulators/virtualbox-ose-additions

Guido Falsi madpilot at FreeBSD.org
Tue Sep 10 23:09:24 UTC 2013


Author: madpilot
Date: Tue Sep 10 23:09:23 2013
New Revision: 326937
URL: http://svnweb.freebsd.org/changeset/ports/326937

Log:
  Fix build on head after iconv change.
  
  Reported by:	Walter Hurry <walterhurry at gmail.com>
  Approved by:	portmgr (bapt, implicit)

Modified:
  head/emulators/virtualbox-ose-additions/Makefile

Modified: head/emulators/virtualbox-ose-additions/Makefile
==============================================================================
--- head/emulators/virtualbox-ose-additions/Makefile	Tue Sep 10 22:44:04 2013	(r326936)
+++ head/emulators/virtualbox-ose-additions/Makefile	Tue Sep 10 23:09:23 2013	(r326937)
@@ -23,6 +23,7 @@ BUILD_DEPENDS=	yasm:${PORTSDIR}/devel/ya
 UNIQUENAME=	${PORTNAME}${PKGNAMESUFFIX}
 WRKSRC=		${WRKDIR}/VirtualBox-${PORTVERSION}
 USE_RC_SUBR=	vboxguest vboxservice
+USES=		iconv
 ONLY_FOR_ARCHS=	i386 amd64
 FETCH_ARGS=	-pRr
 USE_BZIP2=	yes
@@ -117,6 +118,10 @@ post-patch:
 		${WRKSRC}/src/VBox/Additions/x11/Installer/98vboxadd-xclient \
 		${WRKSRC}/src/VBox/Additions/x11/Installer/vboxclient.desktop
 	@${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 \
+		${WRKSRC}/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
+.endif
 
 pre-build:
 	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' \


More information about the svn-ports-all mailing list