aboutsummaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose
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
parent782be382da9a4f2b54abce3e9eba23507d4eefef (diff)
downloadports-ed324c72dd647ef27bf0c611e8a086f6a06e7095.tar.gz
ports-ed324c72dd647ef27bf0c611e8a086f6a06e7095.zip
Notes
Diffstat (limited to 'emulators/virtualbox-ose')
-rw-r--r--emulators/virtualbox-ose/Makefile1
-rw-r--r--emulators/virtualbox-ose/files/patch-src-VBox-Runtime-Makefile.kmk18
2 files changed, 16 insertions, 3 deletions
diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile
index edcd6e0ce492..721fa3eb4066 100644
--- a/emulators/virtualbox-ose/Makefile
+++ b/emulators/virtualbox-ose/Makefile
@@ -221,6 +221,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/files/patch-src-VBox-Runtime-Makefile.kmk b/emulators/virtualbox-ose/files/patch-src-VBox-Runtime-Makefile.kmk
index 32325a580314..b97bedd1591a 100644
--- a/emulators/virtualbox-ose/files/patch-src-VBox-Runtime-Makefile.kmk
+++ b/emulators/virtualbox-ose/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 2013-12-18 11:10:31.000000000 -0500
++++ src/VBox/Runtime/Makefile.kmk 2014-02-20 18:14:28.000000000 -0500
+@@ -157,6 +157,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
+@@ -906,7 +911,7 @@
r3/posix/RTMemProtect-posix.cpp \
r3/posix/RTPathUserHome-posix.cpp \
r3/posix/RTSystemQueryOSInfo-posix.cpp \