diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-10 23:09:23 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2013-09-10 23:09:23 +0000 |
commit | 56f9360f82a654d4eeb5b96fa2281070327cdcd9 (patch) | |
tree | fe5ab27ae763778c230499d5bb627c10c9de0a16 /emulators | |
parent | e97223edc2bb1a0d8de6f889a5d90c81f8097126 (diff) | |
download | ports-56f9360f82a654d4eeb5b96fa2281070327cdcd9.tar.gz ports-56f9360f82a654d4eeb5b96fa2281070327cdcd9.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/virtualbox-ose-additions/Makefile | 5 |
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|' \ |