Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2002 16:21:28 +0100
From:      Thomas Moestl <tmm@FreeBSD.org>
To:        gnome@FreeBSD.org
Subject:   Fix for devel/pkgconfig on sparc64
Message-ID:  <20021104152128.GA316@crow.dom2ip.de>

next in thread | raw e-mail | index | archive | help

--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 <tmoestl@gmx.net>	http://www.tu-bs.de/~y0015675/
              <tmm@FreeBSD.org>	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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021104152128.GA316>