Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jul 2003 04:05:09 +0900
From:      FUJISHIMA Satsuki <sf@FreeBSD.org>
To:        "Sergey A. Osokin" <osa@FreeBSD.org>
Cc:        danfe@regency.nsu.ru
Subject:   Re: HEADS UP: USE_GETOPT_LONG
Message-ID:  <86r852cg4a.wl%sf@FreeBSD.org>
In-Reply-To: <20030630201848.GJ64633@freebsd.org.ru>
References:  <20030630201848.GJ64633@freebsd.org.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 1 Jul 2003 00:18:48 +0400,
Sergey A. Osokin wrote:
> So, also full patch instead of current ports-tree 
> avaliable at http://ozz.pp.ru/patch-longgetopt.danfe
> If you want to contact with Alexey, please Cc: him,
> but please save other addresses.

It seems you don't test This mega-patch on -CURRENT. For example,
astro/rmap:

|-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I ${LOCALBASE}/include/gd/" \
|-		LIBS="-L${LOCALBASE}/lib -lgnugetopt"
|+CONFIGURE_ENV=	CPPFLAGS="-I ${LOCALBASE}/include/gd/" 

configure script can't find libgd here. Proper fix is:

|-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I ${LOCALBASE}/include/gd/" \
|-               LIBS="-L${LOCALBASE}/lib -lgnugetopt"
|+CPPFLAGS=      -I${LOCALBASE}/include/gd
|+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LIBS="-L${LOCALBASE}/lib"

I found this mistake as soon as I looked your patch because I've
experienced exactly the same one during my work yesterday. (I
don't read this list so often.)

http://people.freebsd.org/~sf/use_getopt_long-20030708.diff.gz

I tested this patch on both -CURRENT and -STABLE/i386.
hope this helps.

-- 
FUJISHIMA Satsuki



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r852cg4a.wl%sf>