HEADS UP: USE_GETOPT_LONG

FUJISHIMA Satsuki sf at FreeBSD.org
Mon Jul 7 12:05:10 PDT 2003


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


More information about the freebsd-ports mailing list