aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2013-09-11 07:09:23 +0800
committermadpilot <madpilot@FreeBSD.org>2013-09-11 07:09:23 +0800
commit53a3c56be73f6aac3af0422f304fab542e5ff866 (patch)
treefe5ab27ae763778c230499d5bb627c10c9de0a16 /emulators
parent70956901b87f797e408b5860148c4b8979b32fd4 (diff)
downloadfreebsd-ports-gnome-53a3c56be73f6aac3af0422f304fab542e5ff866.tar.gz
freebsd-ports-gnome-53a3c56be73f6aac3af0422f304fab542e5ff866.tar.zst
freebsd-ports-gnome-53a3c56be73f6aac3af0422f304fab542e5ff866.zip
Fix build on head after iconv change.
Reported by: Walter Hurry <walterhurry@gmail.com> Approved by: portmgr (bapt, implicit)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/virtualbox-ose-additions/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/emulators/virtualbox-ose-additions/Makefile b/emulators/virtualbox-ose-additions/Makefile
index c68c8e1d32f1..c06d4e0b51d0 100644
--- a/emulators/virtualbox-ose-additions/Makefile
+++ b/emulators/virtualbox-ose-additions/Makefile
@@ -23,6 +23,7 @@ BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \
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|' \