Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2004 13:59:09 +0100 (CET)
From:      Stefan Walter <sw@gegenunendlich.de>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@FreeBSD.org
Subject:   [PATCH] x11-toolkits/py23-gtk: recognize thread libraries correctly
Message-ID:  <20040313125909.6C53F3FCF@kyuzo.dunkelkammer.void>

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

>Submitter-Id:	current-users
>Originator:	Stefan Walter
>Organization:	Infinity Approximation Task Force
>Confidential:	no 
>Synopsis:	[PATCH] x11-toolkits/py23-gtk: recognize thread libraries correctly
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 5.2-CURRENT i386
>Environment:
System: FreeBSD kyuzo.dunkelkammer.void 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Feb 14 20:59:15 CET 2004
>Description:
The version currently in the ports tree doesn't recognize threading
libraries; grep's basic regular expressions require a backslash in front
of a '|'. Patch attached.

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- py23-gtk-2.2.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/py-gtk2.old/Makefile /usr/ports/x11-toolkits/py-gtk2/Makefile
--- /usr/ports/x11-toolkits/py-gtk2.old/Makefile	Sat Mar 13 13:42:18 2004
+++ /usr/ports/x11-toolkits/py-gtk2/Makefile	Sat Mar 13 13:50:04 2004
@@ -6,6 +6,7 @@
 
 PORTNAME=	gtk
 PORTVERSION=	2.2.0
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits python
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/pygtk/2.2
@@ -33,7 +34,7 @@
 # Use the same way as the Python port to determine if we want
 # threading support.
 #
-LIBC_R!=	/sbin/ldconfig -r | grep "c_r|pthread" || true
+LIBC_R!=	/sbin/ldconfig -r | grep "c_r\|pthread" || true
 .if (${LIBC_R} != "") && !defined(WITHOUT_THREADS)
 CONFIGURE_ARGS+=	--enable-thread
 CFLAGS+=		${PTHREAD_CFLAGS}
--- py23-gtk-2.2.0_1.patch ends here ---



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