From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 6 10:20:05 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB6241065670 for ; Sun, 6 Jun 2010 10:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB15D8FC13 for ; Sun, 6 Jun 2010 10:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o56AK5t9067380 for ; Sun, 6 Jun 2010 10:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o56AK5HZ067379; Sun, 6 Jun 2010 10:20:05 GMT (envelope-from gnats) Date: Sun, 6 Jun 2010 10:20:05 GMT Message-Id: <201006061020.o56AK5HZ067379@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Anonymous Cc: Subject: Re: ports/147546: Update Port: editors/emacs-devel to a snapshot of 24.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anonymous List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2010 10:20:05 -0000 The following reply was made to PR ports/147546; it has been noted by GNATS. From: Anonymous To: Ashish SHUKLA Cc: bug-followup@FreeBSD.org, keramida@FreeBSD.org Subject: Re: ports/147546: Update Port: editors/emacs-devel to a snapshot of 24.x Date: Sun, 06 Jun 2010 10:10:14 +0000 Ashish SHUKLA writes: > Acknowledgements: > - Anonymous for the compilation fix on 6.x and 9.x when DBUS is enabled. [...] > +DBUS_PTHREAD_LIBS= ${CC} -dumpspecs | ${GREP} -m 1 pthread: | ${SED} -e 's|^.*%{\!pg: %{pthread:||' -e 's|}.*$$||' || ${TRUE} > + [...] > +post-configure: > + @${REINPLACE_CMD} -e "s/^\(DBUS_LIBS.*\)-pthread\(.*\)$$/\1$$(${DBUS_PTHREAD_LIBS})\2/" ${WRKSRC}/src/Makefile > + Remove my credit. Your version is complex, uses backreferences (slow) and assumes `$$/' is not interpreted by sh(1) as variable. Besides, it's now harder to check value $ make -V DBUS_PTHREAD_LIBS