From owner-freebsd-ports@FreeBSD.ORG Sun Nov 16 23:40:42 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C15016A4CE for ; Sun, 16 Nov 2003 23:40:42 -0800 (PST) Received: from lilbuddy.antsclimbtree.com (lilbuddy.antsclimbtree.com [216.27.183.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3E9F43F75 for ; Sun, 16 Nov 2003 23:40:41 -0800 (PST) (envelope-from mark@antsclimbtree.com) Received: from amore.antsclimbtree.com ([192.168.1.2]) by lilbuddy.antsclimbtree.com with asmtp (TLSv1:RC4-SHA:128) (Exim 4.24; FreeBSD 4.8) id 1ALe0U-000H3d-Jq for ports@FreeBSD.org; Sun, 16 Nov 2003 23:41:10 -0800 Mime-Version: 1.0 (Apple Message framework v606) To: ports@FreeBSD.org Message-Id: <56C01C88-18D1-11D8-86C7-000A278CC960@antsclimbtree.com> From: Mark Edwards Date: Sun, 16 Nov 2003 23:40:39 -0800 X-Mailer: Apple Mail (2.606) X-Spam-Score: -4.9 (----) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Passing an argument to a port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 07:40:42 -0000 Can someone clue me in on how to pass a variable to a port during make? I am trying to customize the behavior of mail/imap-uw and mail/cclient. They ordinarily use unix mailbox format when creating new mailboxes, and I want them to create mbx format mailboxes. This is achieved by setting CREATEPROTO=mbxproto during compilation. For example: make osx CREATEPROTO=mbxproto achieves this on my OSX machine. However, I'm not sure how to pass this setting to the FreeBSD port. If I do: cd /usr/ports/mail/imap-uw make install CREATEPROTO=mbxproto it doesn't happen. Is there some way to pass a given argument to the make process from the make command in the port? Thanks! -- Mark Edwards