From owner-freebsd-ports Fri Feb 7 16:30:52 2003 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 B1BA137B401 for ; Fri, 7 Feb 2003 16:30:51 -0800 (PST) Received: from mail.inka.de (quechua.inka.de [193.197.184.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7CE43FBD for ; Fri, 7 Feb 2003 16:30:50 -0800 (PST) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with gbsmtp id 18hItM-0004u3-04; Sat, 08 Feb 2003 01:30:48 +0100 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.6/8.12.6) with ESMTP id h17Ni0PD038327 for ; Sat, 8 Feb 2003 00:44:00 +0100 (CET) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.6/8.12.6/Submit) id h17NhxBS038326 for freebsd-ports@freebsd.org; Sat, 8 Feb 2003 00:44:00 +0100 (CET) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: USE_GETOPT patch available Date: Fri, 7 Feb 2003 23:43:59 +0000 (UTC) Message-ID: References: <20030205011921.24c642cb.corecode@corecode.ath.cx> <20030205010005.GA35933@vega.vega.com> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Maxim Sobolev wrote: > I think that you had overcomplicated things a bit, with all those > automagick. Something like the following would be more than enough: > > .if defined(USE_GNUGETOPT) > .if ${OSVERSION} < BLABLABLA > LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt > GNUGETOPT_CFLAGS?= -I${LOCALBASE}/include > GNUGETOPT_LIBS?= -lgnugetopt FWIW, I agree. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message