From owner-freebsd-ports@FreeBSD.ORG Thu Oct 7 02:51:21 2004 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 B2E8416A4CE for ; Thu, 7 Oct 2004 02:51:21 +0000 (GMT) Received: from cowbert.2y.net (d46h180.public.uconn.edu [137.99.46.180]) by mx1.FreeBSD.org (Postfix) with SMTP id 4363B43D60 for ; Thu, 7 Oct 2004 02:51:21 +0000 (GMT) (envelope-from sirmoo@cowbert.net) Received: (qmail 91110 invoked by uid 1001); 7 Oct 2004 02:51:20 -0000 Date: Wed, 6 Oct 2004 22:51:20 -0400 From: "Peter C. Lai" To: postfix-users@cloud9.net Message-ID: <20041007025120.GC243@cowbert.net> References: <20041007004928.267B5154BF@russian-caravan.cloud9.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041007004928.267B5154BF@russian-caravan.cloud9.net> User-Agent: Mutt/1.5.6i cc: freebsd-ports@freebsd.org Subject: Re: [postfix-users] pipe unable to parse dash flags in argv (resolved) 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: Thu, 07 Oct 2004 02:51:21 -0000 > Subject: Re: [postfix-users] pipe unable to parse dash flags in argv (resolved) > >Peter C. Lai: > > Date: Sat, 2 Oct 2004 09:45:12 -0400 (EDT) > > From: wietse@porcupine.org (Wietse Venema) > > > > > I REPEAT: YOU HAVE LINKED POSTFIX WITH A BRAIN DAGAGED GNU GETOPT ROUTINE. > > > > > > DON'T DO THAT. POSTFIX REQUIRES THAT YOU USE THE SYSTEM GETOPT > > > ROUTINE. > > > > This is not a problem I can easily resolve. What would you propose? > > Use the SYSTEM LIBRARY getopt() routine! > > DO NOT overrride system library routines with brain-damaged third > party versions. > > If you must use third-party libraries that override native methods > specify > > -lc > > before > > -lbraindamagedthirdpartylibrary > > Wietse > > > I can see > > if it will build correctly without linking -L /usr/local/lib, because it WILL > > ALWAYS pick up the broken gnugetopt IF we are linking to /usr/local/lib AND > > the freebsd libgnugetopt port is installed. In any case, we must change the > > Makefile in order to get it to link to the correct getopt library, and doing > > this is beyond my scope of expertise. > > I'm not the one who's overriding anything! The default ports build does this! The question now is, do we change /ports/mail/postfix/Makefile to force -lc for this port, or is there a fundamental change required in bsd.port.mk? (What I am saying is that it would be _really nice_ to get postfix to work out-of-the-box instead of getting it borken by linking to libgnugetopt by default). -- Peter C. Lai University of Connecticut Dept. of Molecular and Cell Biology Yale University School of Medicine SenseLab | Research Assistant http://cowbert.2y.net/