From owner-freebsd-ports@FreeBSD.ORG Wed Feb 9 19:14:24 2011 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 56C0A106566B for ; Wed, 9 Feb 2011 19:14:24 +0000 (UTC) (envelope-from michael.scheidell@secnap.com) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id 1B6568FC1E for ; Wed, 9 Feb 2011 19:14:23 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 6DF612B7CD5; Wed, 9 Feb 2011 14:14:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secnap.com; h= content-type:content-type:in-reply-to:references:subject:subject :mime-version:user-agent:from:from:date:date:message-id; s=dkim; t=1297278862; x=1299093262; bh=vMqy5A3apzex/z5VdIQVPQp/C6yNLc3d KW8mlz5jfC4=; b=ewZJ/TDlqS9YmEF2Oth82piuZYjVGP7yUwPwB3rV8AkaEqoP kMln39EoOUsRrSaceNXktziRkLsygya5drtpH3auuTcg0GB+1F09w7EqDfEBsnPe /F5CPJNnhml9lHT2ivaZQKSYCS7HQ8ZYSnsZFkHcHxfzCHnIgoOAvNugFJ0= X-Amavis-Modified: Mail body modified (using disclaimer) - mx1.secnap.com.ionspam.net X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.14 at mx1.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (usbctdc001.secnap.com [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.secnap.com.ionspam.net (Postfix) with ESMTPS id F280C2B7CC7; Wed, 9 Feb 2011 14:14:21 -0500 (EST) Received: from 68-245-171-115.pools.spcsdns.net (10.80.0.4) by USBCTDC001.secnap.com (10.70.1.1) with Microsoft SMTP Server (TLS) id 14.0.722.0; Wed, 9 Feb 2011 14:14:19 -0500 Message-ID: <4D52E793.7000605@secnap.com> Date: Wed, 9 Feb 2011 14:14:27 -0500 From: Michael Scheidell User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Chuck Swiger References: <4D52D798.5020204@secnap.com> <4D52DE76.2050208@secnap.com> <7CA2236E-503C-4456-9516-DD7806FDDF9E@mac.com> In-Reply-To: <7CA2236E-503C-4456-9516-DD7806FDDF9E@mac.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: how to bootstrap libtool? 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: Wed, 09 Feb 2011 19:14:24 -0000 On 2/9/11 2:11 PM, Chuck Swiger wrote: > On Feb 9, 2011, at 10:35 AM, Michael Scheidell wrote: >> On 2/9/11 1:32 PM, Chuck Swiger wrote: >>> You should list libnet11 as both BUILD_DEPENDS and RUN_DEPENDS, likely... >> I do. >> >> didn't help (specifically referring to the new 2.9.0.3 security/snort port) >> >> I THINK this cludge helped: but I am not happy with it. not sure I understand portlint complaints about !=, or if there is/was a better way. > Running portlint shows both the issue and an URL for the recommended approach: > WARN: Makefile: [63]: use of != in assignments is almost never a good thing to do. Try to avoid using them. See http://lists.freebsd.org/pipermail/freebsd-ports/2008-July/049777.html for some helpful hints on what to do instead. > WARN: Makefile: possible use of absolute pathname "/var/log/snort". > 0 fatal errors and 2 warnings found. > > The problem with != is that is is evaluated in a subshell regardless of whether the results are needed, and it happens while the Makefile is first being read, before it tries to figure out which targets need to be processed. This is why setting libnet in BUILD_DEPENDS isn't being processed until after these commands are run (or fail to run, as above). > which is useless information to me. don't know why, been doing freebsd for 10 years, been a port maintainer for.. ? 4? 5? don't remember. still that is useless information, and doesn't make any sense. doesn't tell me what,why, how, or when to replace what lines with what alternatives. yes, I can hard code it, but I don't really understand what those (inherited lines) actually do. > GNU Make refers to the distinction as "immediate" vs. "deferred", and you want to use the latter where possible. > > Regards, -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 ISN: 1259*1300 >*| *SECNAP Network Security Corporation * Certified SNORT Integrator * 2008-9 Hot Company Award Winner, World Executive Alliance * Five-Star Partner Program 2009, VARBusiness * Best in Email Security,2010: Network Products Guide * King of Spam Filters, SC Magazine 2008 ______________________________________________________________________ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/ ______________________________________________________________________