ports/147546: Update Port: editors/emacs-devel to a snapshot of 24.x
Anonymous
swell.k at gmail.com
Sun Jun 6 10:20:05 UTC 2010
The following reply was made to PR ports/147546; it has been noted by GNATS.
From: Anonymous <swell.k at gmail.com>
To: Ashish SHUKLA <wahjava at gmail.com>
Cc: bug-followup at FreeBSD.org, keramida at 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 at 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
More information about the freebsd-ports-bugs
mailing list