[vbox-dev] NetBSD patch 0007: Revamp NetBSD support in Config.kmk

Kamil Rytarowski n54 at gmx.com
Fri Jul 22 23:22:57 GMT 2016


Revamp NetBSD support in Config.kmk

Changes:
 - There is no GNU tar(1) in base, it's shipped optionally as gtar via
pkgsrc.
 - The iconv(3) interface is incorporated into the Standard C Library.

This patch is MIT-licensed.

Author: Kamil Rytarowski
-------------- next part --------------
Revamp NetBSD support in Config.kmk

Changes:
 - There is no GNU tar(1) in base, it's shipped optionally as gtar via pkgsrc.
 - The iconv(3) interface is incorporated into the Standard C Library.

This patch is MIT-licensed.

Author: Kamil Rytarowski

Index: Config.kmk
===================================================================
--- Config.kmk	(wersja 62416)
+++ Config.kmk	(kopia robocza)
@@ -2001,7 +2001,7 @@
 # GNU tar if present.
 if1of ($(KBUILD_TARGET), linux os2 win)
  VBOX_GTAR ?= tar
-else if1of ($(KBUILD_TARGET), freebsd solaris)
+else if1of ($(KBUILD_TARGET), freebsd netbsd solaris)
  VBOX_GTAR ?= gtar
 endif
 
@@ -6017,7 +6017,7 @@
 TEMPLATE_VBOXGUESTR3EXE_DEFS.linux := $(TEMPLATE_VBOXR3EXE_DEFS.linux) LOG_USE_C99 RT_WITHOUT_EXEC_ALLOC
 ifeq ($(KBUILD_TARGET),linux) # As few libs as possible on linux.
  TEMPLATE_VBOXGUESTR3EXE_LIBS     = pthread rt m dl
-else if1of ($(KBUILD_TARGET), darwin freebsd netbsd openbsd)
+else if1of ($(KBUILD_TARGET), darwin freebsd openbsd) # NetBSD ships with iconv(3) in libc
  TEMPLATE_VBOXGUESTR3EXE_LIBS     = $(TEMPLATE_VBOXR3EXE_LIBS) iconv
 else ifeq ($(KBUILD_TARGET), solaris)
  TEMPLATE_VBOXGUESTR3EXE_LIBS     = $(TEMPLATE_VBOXR3EXE_LIBS) nsl
@@ -6701,4 +6701,3 @@
 
 quick:
 	$(MAKE) VBOX_QUICK=1
-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160723/f39900e2/attachment.sig>


More information about the vbox-dev mailing list