From owner-freebsd-ports@FreeBSD.ORG Thu Jan 13 05:20:26 2005 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 78F2D16A4CE for ; Thu, 13 Jan 2005 05:20:26 +0000 (GMT) Received: from ms-smtp-03-eri0.ohiordc.rr.com (ms-smtp-03-smtplb.ohiordc.rr.com [65.24.5.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 064EC43D41 for ; Thu, 13 Jan 2005 05:20:26 +0000 (GMT) (envelope-from dmehler26@woh.rr.com) Received: from satellite (dhcp065-031-041-029.woh.rr.com [65.31.41.29]) j0D5KNwZ018974 for ; Thu, 13 Jan 2005 00:20:23 -0500 (EST) Message-ID: <010b01c4f92f$64c863d0$0400a8c0@satellite> From: "dave" To: Date: Thu, 13 Jan 2005 00:19:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: lib_depends port patch and pkg-plist X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dave List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2005 05:20:26 -0000 Hello, I'm trying to alter a port, i want to change it so that instead of pulling in all the lib depends, they are not all necessary for the port they just give extra functionality, i use "if defined" blocks. My goal is if someone wants a feature "make WITH_FEATURE=yes" will do it, but if not they won't get all the extra dependencies needed. I've got the if defines going, and that seems to be working, but my problem is with the pkg-plist file, how do i handle this in view of the dependencies? Thanks. Dave.