From owner-freebsd-ports@FreeBSD.ORG Sun Feb 4 11:59:03 2007 Return-Path: X-Original-To: ports@freebsd.org 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 0E22516A402 for ; Sun, 4 Feb 2007 11:59:03 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 9854713C467 for ; Sun, 4 Feb 2007 11:59:02 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1044849uge for ; Sun, 04 Feb 2007 03:59:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=dEKHjY73RltFUI8K/AZDOZVHobaZz/ZDj4ZktNDUv77aaSJoBM7ar0eiyXlJGc1o/zIZXo8Vn8iYR+01I5Z6u5wUXVoGGSiTU02NeVQDuicex27Bjoh0bPvy1ixJ532X8ztJMwjFfvLGNQiuzgb/uRTST7raJbD0qybzhIC12+s= Received: by 10.78.149.15 with SMTP id w15mr985848hud.1170590341008; Sun, 04 Feb 2007 03:59:01 -0800 (PST) Received: by 10.78.170.11 with HTTP; Sun, 4 Feb 2007 03:58:55 -0800 (PST) Message-ID: Date: Sun, 4 Feb 2007 14:58:55 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Gerald Pfeifer" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 8e96284b0163100e Cc: ports@freebsd.org Subject: Re: LIB_DEPENDS not really required for build? 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: Sun, 04 Feb 2007 11:59:03 -0000 On 2/4/07, Gerald Pfeifer wrote: > I always relied on LIB_DEPENDS applying both at install time as well as > build time, and strictly so, but apparently I was confused? > > % cd $PORTSDIR/lang/gcc42 ; make > : > ===> gcc-4.2.0_20070131 depends on shared library: gmp.7 - not found > ===> Verifying install for gmp.7 in /home/gerald/ports//math/libgmp4 > => No directory for gmp.7. Skipping.. > ===> gcc-4.2.0_20070131 depends on shared library: mpfr.1 - not found > ===> Verifying install for mpfr.1 in /home/gerald/ports//math/mpfr > => No directory for mpfr.1. Skipping.. > ===> gcc-4.2.0_20070131 depends on shared library: iconv.3 - found > > And on it went to build the port, only dying later, at install time, > wasting two hours. :-( > > Ignoring dependencies like this looks very, very bogus to me. > > IMnsHO the user explicitly should provide NO_DEPENDS to get this > behavior, which may lead to build failures, wrong package lists, > and run-time failures. > > Thoughts? You should take another look at the excerpt you posted. Looks like portsdir has been redefined.