Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2003 23:43:59 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-ports@freebsd.org
Subject:   Re: USE_GETOPT patch available
Message-ID:  <b21gbv$15ch$1@kemoauc.mips.inka.de>
References:  <20030205011921.24c642cb.corecode@corecode.ath.cx> <20030205010005.GA35933@vega.vega.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxim Sobolev <sobomax@freebsd.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b21gbv$15ch$1>