[PATCH] x11-toolkits/py23-gtk: recognize thread libraries correctly

Stefan Walter sw at gegenunendlich.de
Sat Mar 13 04:59:13 PST 2004


>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 at 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 ---



More information about the freebsd-gnome mailing list