From owner-freebsd-ports@FreeBSD.ORG Wed Aug 15 00:14:02 2007 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 6F82516A417 for ; Wed, 15 Aug 2007 00:14:02 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by mx1.freebsd.org (Postfix) with ESMTP id E472E13C494 for ; Wed, 15 Aug 2007 00:14:01 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so2102142mue for ; Tue, 14 Aug 2007 17:14:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PepjL5jl0HuYctkpw+U4IKI3iWWZAYkAezgxPZOWbm+kv+CyDuVjGE8xOSMaex130YjEKSnbS5+3hzwuCBk0prcpX1UFc19VXgGi1vypHb3xst/nVL4V/zGa+9aTEZGQ7/QL/3bwrO/wragFL3MwUJSvDzvRTb0aiK9Qx+dTzX4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y6dV7SSMTGpaCrN0t9oCt46dvkl9NgYmhaBcUQO7qapCg6iwoE2lk6J/ftEQHjPE7JIXLc58WsPqMG8S4ONgECL5yE268921R5pnYQlYbNL4jfYKMQXUi+HKznlHdrIxdjJeYKpn7mxmVeaDnGL2Z4VDWETrcpp5b4G/DF408XQ= Received: by 10.86.23.17 with SMTP id 17mr5984913fgw.1187136840275; Tue, 14 Aug 2007 17:14:00 -0700 (PDT) Received: by 10.86.59.6 with HTTP; Tue, 14 Aug 2007 17:14:00 -0700 (PDT) Message-ID: <790a9fff0708141714x50fce15eja53aee87103a4412@mail.gmail.com> Date: Tue, 14 Aug 2007 19:14:00 -0500 From: "Scot Hetzel" To: "Nikola Lecic" In-Reply-To: <200708142348.l7ENmeTY012832@eunet.yu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0708141639h4a805f95n6519c40dc5dcd20a@mail.gmail.com> <200708142348.l7ENmeTY012832@eunet.yu> Cc: James , freebsd-ports@freebsd.org Subject: Re: lam/MPI with trillium libraries 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, 15 Aug 2007 00:14:02 -0000 On 8/14/07, Nikola Lecic wrote: > On Tue, 14 Aug 2007 18:39:08 -0500 > "Scot Hetzel" wrote: > > > On 8/14/07, James wrote: > > > I'm looking to build a copy of a debugging program called XMPI. For > > > this to work, I have to have lam/MPI installed with the trillium > > > libraries. > > > > > > I couldn't see any easy way to tell the net/lam port to install > > > itself with these libraries, though it makes some measure of sense > > > to me that there ought to be one. Is anyone out there aware of any > > > way to do this? It's typically passed as a flag > > > during ./configure, so if I'm just uninformed as to the ways of > > > ports and there's an easy way to pass that in, that'd be a great > > > solution. > > > > > > > Edit the ports Makefile and add the flag to CONFIGURE_ARGS. > > > > If you want to make this flag conditional, add: > > > > .if defined(WITH_MYOPTION) > > CONFIGURE_ARGS+= --enable-my-option > > .endif > > > > after "CONFIGURE_ARGS=" in the Makefile. > > Yes, but changes like this will be erased by 'portsnap fetch update' > after the next net/lam port revision. > It depends on how the ports are updated. cvs -q update -P -d won't make the change disappear. Or if the change is submitted in a PR. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.