From owner-freebsd-x11@FreeBSD.ORG Mon Jan 30 16:00:28 2012 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D7611065674 for ; Mon, 30 Jan 2012 16:00:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7B8728FC1D for ; Mon, 30 Jan 2012 16:00:28 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0UG0SYP077941 for ; Mon, 30 Jan 2012 16:00:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0UG0SvL077936; Mon, 30 Jan 2012 16:00:28 GMT (envelope-from gnats) Date: Mon, 30 Jan 2012 16:00:28 GMT Message-Id: <201201301600.q0UG0SvL077936@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Volodymyr Kostyrko Cc: Subject: Re: ports/146321: x11/libSM picks the wrong uuid.h X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Volodymyr Kostyrko List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 16:00:28 -0000 The following reply was made to PR ports/146321; it has been noted by GNATS. From: Volodymyr Kostyrko 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.