ports/146321: x11/libSM picks the wrong uuid.h
Volodymyr Kostyrko
c.kworr at gmail.com
Mon Jan 30 16:00:28 UTC 2012
The following reply was made to PR ports/146321; it has been noted by GNATS.
From: Volodymyr Kostyrko <c.kworr at gmail.com>
To: bug-followup at FreeBSD.org, afb at rpm%35.org
Cc:
Subject: Re: ports/146321: x11/libSM picks the wrong uuid.h
Date: Mon, 30 Jan 2012 17:56:14 +0200
Hi there.
I see the progress has gone nowhere... I'll try to resurrect this one.
First of all, libSM doesn't pick those values itself, it inherits them
from `pkg-config --cflags "ice >= 1.0.5 xproto"`.
The proposal for adding /usr/include before /usr/local/include is wrong
too. Try building a port with:
CONFIGURE_ARGS+=--disable-docs --without-xmlto
CONFIGURE_ENV+= SM_CFLAGS="-I/usr/include -I${PREFIX}/include"
XTRANS_CFLAGS="-I/usr/include -I${PREFIX}/include"
Even when you set:
CONFIGURE_ARGS+=--disable-docs --without-xmlto --includedir=/usr/include
CONFIGURE_ENV+= SM_CFLAGS="-I/usr/include" XTRANS_CFLAGS="-I/usr/include"
it wouldn't build either because of missing includes in $prefix/include,
but if you would add that dir it will surely pickup incorrect header.
You can check used configuration in
$wrkdirprefix/usr/ports/x11/libSM/work/libSM-1.2.0/Makefile
--
Sphinx of black quartz judge my vow.
More information about the freebsd-x11
mailing list