aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-legacy
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2014-02-21 21:22:56 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2014-02-21 21:22:56 +0000
commited324c72dd647ef27bf0c611e8a086f6a06e7095 (patch)
treeb826ef1492b6bb1f9c53cb5b8d04a53d0afd6a27 /emulators/virtualbox-ose-legacy
parent782be382da9a4f2b54abce3e9eba23507d4eefef (diff)
Fix build after re-appearance of converters/libiconv on 10+ (r341775).
Obtained from: svn.redports.org/virtualbox PR: ports/186847
Notes
Notes: svn path=/head/; revision=345546
Diffstat (limited to 'emulators/virtualbox-ose-legacy')
-rw-r--r--emulators/virtualbox-ose-legacy/Makefile1
-rw-r--r--emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-Makefile.kmk18
2 files changed, 16 insertions, 3 deletions
diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile
index 5af302e16842..2fcc25067f89 100644
--- a/emulators/virtualbox-ose-legacy/Makefile
+++ b/emulators/virtualbox-ose-legacy/Makefile
@@ -212,6 +212,7 @@ post-patch:
@${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
+ @${ECHO} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk
.endif
pre-build:
diff --git a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-Makefile.kmk b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-Makefile.kmk
index 32325a580314..436cabc019f5 100644
--- a/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-Makefile.kmk
+++ b/emulators/virtualbox-ose-legacy/files/patch-src-VBox-Runtime-Makefile.kmk
@@ -1,6 +1,18 @@
---- src/VBox/Runtime/Makefile.kmk.orig 2013-06-21 16:27:18.000000000 +0400
-+++ src/VBox/Runtime/Makefile.kmk 2013-06-30 14:57:33.248215681 +0400
-@@ -844,7 +844,7 @@
+--- src/VBox/Runtime/Makefile.kmk.orig 2014-01-11 03:17:44.000000000 -0500
++++ src/VBox/Runtime/Makefile.kmk 2014-02-20 19:18:26.000000000 -0500
+@@ -141,6 +141,11 @@
+ IPRT_BLDCFG_TYPE=\"$(KBUILD_TYPE)\"
+
+ #
++# Set the defines that utf8-posix.cpp needs. It's used by several targets.
++#
++r3/posix/utf8-posix.cpp_DEFS.freebsd = $(VBOX_ICONV_DEFS)
++
++#
+ # Unicode Specification reader used to regenerate unidata.cpp.
+ #
+ uniread_TEMPLATE = VBOXBLDPROG
+@@ -844,7 +849,7 @@
r3/posix/RTMemProtect-posix.cpp \
r3/posix/RTPathUserHome-posix.cpp \
r3/posix/RTSystemQueryOSInfo-posix.cpp \