From owner-freebsd-ports@FreeBSD.ORG Tue Aug 5 14:41:45 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 576C2211 for ; Tue, 5 Aug 2014 14:41:45 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B40826E3 for ; Tue, 5 Aug 2014 14:41:45 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id h3so8898958igd.5 for ; Tue, 05 Aug 2014 07:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=QQlZOdEcwM1pOCL8EoN1O71Ox+Ay45QzQoI2UmZjHGI=; b=PHuvPhxEEqyC/JM1CwxtwFdSKLB5i5qDzxC+L7VR7aSQpJmuYWPukRYARtCL6gMFc/ 6Qa7s3Y/ZDYiUamZpdM/xjBBcto2At6JeEQdg7glig7mMplwTrS5MGXhNFv8d0tRo/m2 kzJ2vhipP0v3BAolMPH/+Gx61zgCgLT46o+ahYnhb+4JtywOKlF5aKMTy/0mYN2l8EVA vI330kSfGNCHKPV/S10D+hO2GAt/eOWZ3EBBwI8TtJ3FqHip2NcXgXut7nvocHAnU8Nf uki5r9hMZ1YRnEPeniGlnR5kGVyIA/4RDuYmch77W9dln1ZN+HPqVEYSz0Zgy8do8rxl SXdQ== X-Received: by 10.42.93.84 with SMTP id w20mr6287148icm.49.1407249704514; Tue, 05 Aug 2014 07:41:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.54.33 with HTTP; Tue, 5 Aug 2014 07:41:24 -0700 (PDT) From: Luca Pizzamiglio Date: Tue, 5 Aug 2014 16:41:24 +0200 Message-ID: Subject: ports-mgmt/portmaster and DEFAULT_VERSION=gcc=4.8: lang/gcc dependency added To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 14:41:45 -0000 Hi list, I found a small issue with ports-mgmt/portmaster and the variable DEFAULT_VERSION defined in /etc/make.conf I normally use clang, to build my ports, but I use the gcc48 port also. The actual lang/gcc is gcc 4.7.4, but I wouldn't another gcc installed :) In order to use lang/gcc48 instead of lang/gcc, I set DEFAULT_VERSION=gcc=4.8 in /etc/make.conf Now, if you try to build with portmaster any port that requires gcc, the dependency lang/gcc is added (for instance, with astro/wcslib, but also www/firefox or mail/thunderbird) # portmaster -D astro/wcslib ===>>> Currently installed version: wcslib-4.23 ===>>> Port directory: /usr/ports/astro/wcslib ===>>> Launching 'make checksum' for astro/wcslib in background ===>>> Gathering dependency list for astro/wcslib from ports ===>>> Launching child to install lang/gcc ===>>> wcslib-4.23 >> lang/gcc (1/1) ===>>> Port directory: /usr/ports/lang/gcc ===>>> Launching 'make checksum' for lang/gcc in background ===>>> Gathering dependency list for lang/gcc from ports If I run a simple "make" from the directory /usr/ports/astro/wcslib, no dependency is added and the right gcc is used. Am I the only one with this issue? uname -a FreeBSD pizzamig 9.3-RELEASE FreeBSD 9.3-RELEASE #0 r268512: Thu Jul 10 23:44:39 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 Best regards, pizzamig