From owner-freebsd-ports@FreeBSD.ORG Mon Aug 20 18:57:43 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEE1C1065672 for ; Mon, 20 Aug 2012 18:57:43 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 6436A8FC15 for ; Mon, 20 Aug 2012 18:57:43 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=xouuGr b7BeZ6nR5J1mAIPSkicBeyB1dLYdTwDpqFISwe31wzOu7SFbpNAdpZY+PIZ2F+ob uquhquRJHaTz6xE+qs4tmxRLzqn51ofxEd8JrgdL5614JcRfNwoQox+2/mmCdz8G vLBAG7H3KFQQE1JsjJvGupa72+TdEy0Ynmmjc= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=qVusQ1e82zVm hPyREHM6OwJEIFKmlo8DI0U0WX+CwKE=; b=Cx68Iig37/7Wf50pOfdHvcXKue+1 6QrqyxvLLAGLuWJW/gJzgLBOH5neza5+sELOCD+gbhcMqbTzPiwp2+1daHrZpEGu +1lOZVifgL24NyqSy0WPKzRCEMTVFHWL23WVrxYRtSe+y5MrS3h8cLmMBUWboEv8 bOB+OODfKu2YZrA= Received: (qmail 49920 invoked from network); 20 Aug 2012 13:57:36 -0500 Received: from unknown (HELO ?192.168.0.74?) (bryan@shatow.net@74.94.87.209) by sweb.xzibition.com with ESMTPA; 20 Aug 2012 13:57:36 -0500 Message-ID: <503288A1.3000102@shatow.net> Date: Mon, 20 Aug 2012 13:57:37 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: "O. Hartmann" References: <50327A9C.5040103@zedat.fu-berlin.de> In-Reply-To: <50327A9C.5040103@zedat.fu-berlin.de> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Ports FreeBSD Subject: Re: pkg(ng)/portupgrade-devel: does not respect setting of USE_GCC= 4.6+ X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2012 18:57:43 -0000 On 8/20/2012 12:57 PM, O. Hartmann wrote: > I utilize FreeBSD 10.0-CURRENT and build the OS with CLANG as well as > ports, which are compatible building with clang, using the well known > settings in /etc/make.conf and /etc/src/conf. > > I use ports-mgmt/pkg (1.0-r6) and recently in combination with > ports-mgmt/portupgrade for maintaining my ports. Prior to portupgrade I > used to use ports-mgmt/portmaster (with patch). > > > > In /etc/mak.conf, I include a file via > > .include "/usr/local/etc/ports.conf" in which I have settings like those: > > # math/fftw3 > .if ${.CURDIR:M/usr/ports/math/fftw3} > USE_GCC= 4.6+ > #CC= cc > #CXX= c++ > #CPP= cpp > .endif > > > This setup worked very well in pre-pkg(ng) times and with portmaster. > But now, with pkg, I can not install math/fftw3 anymore (amongst other > ports not compatible with CLANG). Performing "make install" in > math/fftw3 results in: > > ===> fftw3-3.3.2 : clang does not support OpenMP. Disable the OPENMP > option or use another compiler. > *** [install] Error code 1 > > Stop in /usr/ports/math/fftw3. > > > Using portupgrade ends up in this: > portupgrade -f math/fftw3 > USING PKGNG > ** Port marked as IGNORE: math/fftw3: > : clang does not support OpenMP. Disable the OPENMP option or > use another compiler > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > - math/fftw3 (marked as IGNORE) > > I'd like to have OPENMP since I have multicore CPUs running and > therefore I use GCC 4.6 (or higher), which is capable of. > > Why does the use of pkg(ng) reject those essential settings? Have I > overlooked something essential? I can not find any remarks on that > subject in the man pages, or any hint leading towards a new configure > schematics. Any hint? FWIF, the IGNORE is unrelated to portupgrade or pkgng. You'll get this same IGNORE line without using them. > > > Regards and greetings, > Oliver > > > P.S. Please CC me in email, I do not subscribe list "ports@freebsd". >