Date: Mon, 4 Feb 2008 19:24:17 +0300 From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> To: cristi@roedu.net Cc: freebsd-hackers@freebsd.org, Giulio Ferro <auryn@zirakzigil.org>, nork@freebsd.org Subject: Re: Synaptics Message-ID: <N5AurBL0afKkqZZNRrmFa9NsBZY@LVy32Y1Vcfd3lrjVef7eItydZ2k> In-Reply-To: <Z4TRk7Qj0DtWvZDQo1sHpHvbbGE@L53CkyrYvXB/JE6m4h3AJuPRLBg> References: <4c65bf9e-80e5-4c0b-acef-d9914a57679f@i12g2000prf.googlegroups.com> <47728D80.5010507@zirakzigil.org> <475A8637.9020507@zirakzigil.org> <20071212155244.GJ1442@daemon.grid.kiae.ru> <4760114D.6020203@zirakzigil.org> <FZ4mJko0Sid9vm6uNWZcbCwQB48@SCyRCnsBHjFm/teUDw7ZY9jGvfs> <47950952.6040909@roedu.net> <a9614w/m/NEnSoIiPTPh4/uowc0@Bh3KkpMJSlNKovi1bWYCmMEWisk> <41549.193.226.5.33.1201087601.squirrel@mail.roedu.net> <Z4TRk7Qj0DtWvZDQo1sHpHvbbGE@L53CkyrYvXB/JE6m4h3AJuPRLBg>
next in thread | previous in thread | raw e-mail | index | archive | help
--pvezYHf7grwyp3Bc
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Me again.
Mon, Feb 04, 2008 at 05:41:18PM +0300, Eygene Ryabinkin wrote:
> This is a sort of 'ping' mail, sorry. To the point: I had reproduced
> the problem and will start looking into it once this message will
> fly from my mailserver. Stay tuned ;))
OK, things should be better with the attached patch. I was not
able to fully test the resulting Synaptics driver, since I have no
Synaptics beast at my amd64 machine ;)) But with the provided
patch, my Synaptics driver tries to search for the psm device, as
I told him, so, please, give it a try.
Must be patched with 'patch -p1' and one should be in the port
directory.
--
Eygene
--pvezYHf7grwyp3Bc
Content-Type: text/x-diff; charset=koi8-r
Content-Disposition: attachment; filename="synaptics-amd64-ARCH.patch"
>From 083c1be4c91da739436f2b1e509a96512ac05867 Mon Sep 17 00:00:00 2001
From: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Date: Mon, 4 Feb 2008 19:17:43 +0300
Subject: [PATCH] Fix compilation at amd64 by overriding the ARCH variable properly.
FreeBSD make sets ARCH variable to 'amd64' [1] and invokes GNU
make. It inherits the ARCH variable and refuses to set it via
ordinary '=' operator. So we must force ARCH assignments.
[1] Try 'make -V ARCH' in the port directory.
Signed-off-by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
---
files/patch-Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/files/patch-Makefile b/files/patch-Makefile
index 1ae3cbe..90870c5 100644
--- a/files/patch-Makefile
+++ b/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Sun Jul 16 00:58:26 2006
-+++ Makefile Sun Aug 13 10:47:35 2006
+--- Makefile.orig 2006-07-15 19:58:26.000000000 +0400
++++ Makefile 2008-02-04 19:11:33.000000000 +0300
@@ -12,14 +12,14 @@
MANDIR = $(DESTDIR)$(PREFIX)/man
@@ -8,7 +8,8 @@
+ ARCH = $(shell uname -m)
endif
ifeq ($(ARCH),amd64)
- ARCH = x86_64
+- ARCH = x86_64
++ override ARCH = x86_64
endif
ifeq ($(ARCH),x86_64)
ARCH_DEFINES = -D__x86_64__ -D_XSERVER64
--
1.5.3.8
--pvezYHf7grwyp3Bc--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?N5AurBL0afKkqZZNRrmFa9NsBZY>
