From owner-freebsd-ports@FreeBSD.ORG Mon Dec 31 06:22:17 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E83C5547 for ; Mon, 31 Dec 2012 06:22:17 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-oa0-f45.google.com (mail-oa0-f45.google.com [209.85.219.45]) by mx1.freebsd.org (Postfix) with ESMTP id 96C7D8FC08 for ; Mon, 31 Dec 2012 06:22:17 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id i18so11545550oag.18 for ; Sun, 30 Dec 2012 22:22:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=szqgbT5n64+Cmyxut4KFQF4g4EcV9OGGM2bxPimjkCo=; b=IjANuET0rdsWRIiEeOAlUaSZgTIwajYDqrZUmXxVC9WNr0BiUvNraJstYswbBcqRwt bK01wiFMPoPNRgpX4cXtrZQdQ1gJLXyUlQIfWrKfaohl8unO8xU0PBL1zgbhCLjSeFoO wDB+4/l8w4VMf9/J2W+bW0s14QSIEmyUv4ptg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=szqgbT5n64+Cmyxut4KFQF4g4EcV9OGGM2bxPimjkCo=; b=XqoKuNtnDXChhdhTsxSQXwmNYeCKH96iwRqGeETE4ZUjba4Y4/EshyjURgshkNYzR1 rCif32MRbtrpT4iwEdztDQeq8VQDXVT5bwQo3qAy+hXCi37pnZecw3Oh7quzX7K6kkWr nnOhuiqAMA4WCi/JhgutlDW/0POn1vTntoS/hWUqpzBdtG/1qminxsWtPfkVAsKCU50b 6BQjTRCsjhZ8xGAJRnRtQpr8YXMFbFNN/314FGLkpDb4RFZGppdPHuZsB7bQeExmDMy5 IYvk7OLOoRLyRHRhbY6AQfdWgG3XzJ2oZvj+zh4GN10J2lWc34v3eX5aDKpepkkP/3Qd mJ6w== MIME-Version: 1.0 Received: by 10.60.171.38 with SMTP id ar6mr21463852oec.1.1356934930792; Sun, 30 Dec 2012 22:22:10 -0800 (PST) Received: by 10.76.163.74 with HTTP; Sun, 30 Dec 2012 22:22:10 -0800 (PST) X-Originating-IP: [89.144.192.197] Received: by 10.76.163.74 with HTTP; Sun, 30 Dec 2012 22:22:10 -0800 (PST) In-Reply-To: <50E04C5C.2030209@zedat.fu-berlin.de> References: <50E04C5C.2030209@zedat.fu-berlin.de> Date: Mon, 31 Dec 2012 07:22:10 +0100 Message-ID: Subject: Re: emulators/virtualbox-ose-kmod: always use compiler "cc" which is on my basesystem CLANG 3.2 (FreeBSD 10.0) From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: ohartman@zedat.fu-berlin.de X-Gm-Message-State: ALoCoQndlpmR302XcO1qETwPCcCaQvArhslmnjEuFx0x5889sgUn7uBZ0Sald6r9uIZpTPJCGzmf Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2012 06:22:18 -0000 Am 30.12.2012 15:15 schrieb "O. Hartmann" : > > Port emulators/virtualbox-ose-kmod is known not to compile with CLANG > 3.1/3.2. Therefor, it should be compiled with gcc. > > Either setting USE_GCC=4.6+ or USE_GCC=any in the port's makefile or by > setting a global file with the directive > > # emulators/virtualbox-ose > .if ${.CURDIR:M*/emulators/virtualbox-ose*} > USE_GCC= 4.6+ > .endif > > > do not work! Compiling the port is always nailed down to use "cc" which > is CLANG 3.2 by default. Vbox from ports can only be compiled with base GCC 4.2 so USE_GCC=any should be right but I've never tested it. You could also try the new vbox from github which includes a patch to build correctly with GCC 4.6. http://github.com/decke/freebsd-vbox