Date: Thu, 17 Nov 2011 14:27:00 GMT From: Luca Pizzamiglio <luca.pizzamiglio@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162641: [MAINTAINER] Making thread support optional Message-ID: <201111171427.pAHER0QQ032430@red.freebsd.org> Resent-Message-ID: <201111171430.pAHEUCqv093557@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162641 >Category: ports >Synopsis: [MAINTAINER] Making thread support optional >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Nov 17 14:30:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Luca Pizzamiglio >Release: >Organization: >Environment: >Description: This option makes thread support a configurable option. thread are supported by default, but on newer FreeBSD's version this support could be seriously buggy. Stability issues are already encountered on RC1-9. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2011-11-06 19:12:32.000000000 +0100 +++ Makefile 2011-11-17 15:18:55.000000000 +0100 @@ -1,5 +1,5 @@ # ex:ts=8 -# Ports collection makefile for: GDB 7.1 +# Ports collection makefile for: GDB 7.3.x # Date created: 16 November 2010 # Whom: Steven Kreuzer <skreuzer@FreeBSD.org> # @@ -8,7 +8,7 @@ PORTNAME= gdb PORTVERSION= 7.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:S,$,:gdb,} MASTER_SITE_SUBDIR=gdb/:gdb @@ -42,7 +42,8 @@ OPTIONS= DEBUG "Build with debugging symbols" off \ EXPAT "Enable XML parsing for metadata" off \ - PYTHON "Enable Python support" off + PYTHON "Enable Python support" off \ + THREAD "Enable Thread support" on .include <bsd.port.options.mk> @@ -83,7 +84,9 @@ post-patch: @${REINPLACE_CMD} -e 's/$$/ [GDB v${PORTVERSION} for FreeBSD]/' \ ${WRKSRC}/gdb/version.in +.if defined(WITH_THREAD) @${CP} ${FILESDIR}/fbsd-threads.c ${WRKSRC}/gdb +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/gdb${VER} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111171427.pAHER0QQ032430>