[PATCH] Fix build with BSD make.

Gaetan Nadon memsize at videotron.ca
Wed Feb 16 16:08:20 PST 2011


On Sun, 2011-02-13 at 21:51 +0100, Matthieu Herrb wrote:

> $< is not allowed in explicit rules.
> 
> Signed-off-by: Matthieu Herrb <matthieu.herrb at laas.fr>
> ---
>  hw/xfree86/Makefile.am |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am
> index c23b1fd..10d7fc8 100644
> --- a/hw/xfree86/Makefile.am
> +++ b/hw/xfree86/Makefile.am
> @@ -114,7 +114,7 @@ CONF_SUBSTS =	-e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' \
>  		-e 's|DEFAULTFONTPATH|$(COMPILEDDEFAULTFONTPATH)|g'
>  
>  xorg.conf.example: xorgconf.cpp
> -	$(AM_V_GEN)$(SED) $(CONF_SUBSTS) < $< > $@
> +	$(AM_V_GEN)$(SED) $(CONF_SUBSTS) < ${srcdir}/xorgconf.cpp > $@
>  
>  relink:
>  	$(AM_V_at)rm -f Xorg && $(MAKE) Xorg


Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110216/76069687/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110216/76069687/attachment.pgp>


More information about the xorg-devel mailing list