From owner-freebsd-gnome Mon Nov 4 7:21:30 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC47E37B401 for ; Mon, 4 Nov 2002 07:21:28 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 5A94443E4A for ; Mon, 4 Nov 2002 07:21:27 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 8190 invoked by uid 0); 4 Nov 2002 15:21:25 -0000 Received: from pd9e160c5.dip.t-dialin.net (HELO forge.local) (217.225.96.197) by mail.gmx.net (mp009-rz3) with SMTP; 4 Nov 2002 15:21:25 -0000 Received: from tmm by forge.local with local (Exim 4.10 #1) id 188j2f-0000K7-00 for ; Mon, 04 Nov 2002 16:21:29 +0100 Date: Mon, 4 Nov 2002 16:21:28 +0100 From: Thomas Moestl To: gnome@FreeBSD.org Subject: Fix for devel/pkgconfig on sparc64 Message-ID: <20021104152128.GA316@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I have attached a patch for pkgconfig to make it buildable on sparc64 (as a dependency of libxml2, it is needed for release doc builds). The problem is that sparc64 has no pthreads support yet, but the included copy of glib is built with thread support by default. Since this copy is only used by pkgconfig, and pkgconfig does not use any of the thread functions, this can be easily fixed by just passing --disable-threads unconditionally. This knob is only examined by the glib configure script, pkgconfig itself does completely ignore it. Can you please review and, if correct, commit it? Thanks, - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="pkgconfig.diff" Index: devel/pkgconfig/Makefile =================================================================== RCS file: /d/ncvs/ports/devel/pkgconfig/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- devel/pkgconfig/Makefile 5 Oct 2002 16:22:21 -0000 1.24 +++ devel/pkgconfig/Makefile 4 Nov 2002 11:32:17 -0000 @@ -20,6 +20,7 @@ LIBTOOLFILES= glib-1.2.8/configure LIBTOOLFLAGS= --disable-ltlibs \ --disable-shared +CONFIGURE_ARGS= --disable-threads MAKE_ENV= PKGCONF_BUILD=yes PLIST_SUB= LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} --3MwIy2ne0vdjdPXF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message