Date: Mon, 30 Jan 2012 16:00:28 GMT From: Volodymyr Kostyrko <c.kworr@gmail.com> To: freebsd-x11@FreeBSD.org Subject: Re: ports/146321: x11/libSM picks the wrong uuid.h Message-ID: <201201301600.q0UG0SvL077936@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/146321; it has been noted by GNATS. From: Volodymyr Kostyrko <c.kworr@gmail.com> To: bug-followup@FreeBSD.org, afb@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201301600.q0UG0SvL077936>