Date: Sun, 6 Jun 2010 10:20:05 GMT From: Anonymous <swell.k@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/147546: Update Port: editors/emacs-devel to a snapshot of 24.x Message-ID: <201006061020.o56AK5HZ067379@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/147546; it has been noted by GNATS. From: Anonymous <swell.k@gmail.com> To: Ashish SHUKLA <wahjava@gmail.com> 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 <wahjava@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006061020.o56AK5HZ067379>