Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2013 23:09:24 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r326937 - head/emulators/virtualbox-ose-additions
Message-ID:  <201309102309.r8AN9OKj082843@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309102309.r8AN9OKj082843>