From owner-freebsd-ports@FreeBSD.ORG Tue Aug 14 23:39:10 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E832E16A418 for ; Tue, 14 Aug 2007 23:39:10 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 478C913C4A8 for ; Tue, 14 Aug 2007 23:39:10 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so823535nfb for ; Tue, 14 Aug 2007 16:39:08 -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=OukkSNIGh0FzGA6jOm5LdcJcE4d8Un066dsLYj+Nt5uzVVgD3r5e+BqoohPKmd2UgoC0OJXc6xvoE7LRoTmOAmNq1eMmj3r1ou6JBFPmZdbiE+t8AgyeV3I1P0JiLfBxckFmpkA6kgPXrOYBJ9hjo/zLA5Dq3Xz/Te/MvxbMzR8= 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=dkNtTVFKeyYaeyXBiutLouGKElaaIIPQcPWDkDySzmcoSOPpyGLEyB6/Wivtepxv/P+3cgZUkVlETiQwmiISR1ADxr8LgiydcpB172E0NRkOHr1EjzvnxM8T+qDFjUIGBNxdeDcnkfGdPAPONWUHpeatDl8TlYDqZECiBQinRFo= Received: by 10.86.28.5 with SMTP id b5mr5944855fgb.1187134748644; Tue, 14 Aug 2007 16:39:08 -0700 (PDT) Received: by 10.86.59.6 with HTTP; Tue, 14 Aug 2007 16:39:08 -0700 (PDT) Message-ID: <790a9fff0708141639h4a805f95n6519c40dc5dcd20a@mail.gmail.com> Date: Tue, 14 Aug 2007 18:39:08 -0500 From: "Scot Hetzel" To: James In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: 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: Tue, 14 Aug 2007 23:39:11 -0000 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. -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.