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
>From 083c1be4c91da739436f2b1e509a96512ac05867 Mon Sep 17 00:00:00 2001
From: Eygene Ryabinkin <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
---
 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

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to