File Makefile.defs.patch of Package ser
--- /usr/src/packages/BUILD/ser-0.9.6/Makefile.defs 2006-01-11 02:25:58.000000000 +0200
+++ Makefile.defs 2006-06-11 14:52:04.000000000 +0300
@@ -33,10 +33,10 @@
# 2003-11-24 openbsd 3.4 (elf) fixes (andrei)
# 2004-07-27 darwin (mac os x) port (andrei)
# 2004-09-12 mips2 & cobalt support introduced (andrei)
-# 2004-09-28 x86_64 support introduced (andrei)
+# 2004-09-28 x86-64 support introduced (andrei)
# 2004-12-14 gcc-3.4 special case added (andrei)
# 2004-12-15 HAVE_ALLOCA_H added (andrei)
-# 2004-12-19 amd64 transformed in x86_64 (andrei)
+# 2004-12-19 amd64 transformed in x86-64 (andrei)
# 2005-04-27 alpha support added (andrei)
# 2005-06-01 use $(LOCALBASE) instead of /usr/{local,pkg} (andrei)
# 2005-06-06 ppc64 support & missing ppc optimizations section added (andrei)
@@ -73,7 +73,7 @@
ARCH := $(shell $(GETARCH) |sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
-e s/armv4l/arm/ -e "s/Power Macintosh/ppc/" \
-e "s/cobalt/mips2/" \
- -e s/amd64/x86_64/ )
+ -e s/amd64/x86-64/ )
# fix sparc -> sparc64
ifeq ($(ARCH),sparc)
ifeq ($(shell uname -m),sun4u)
@@ -417,7 +417,7 @@
use_fast_lock=yes
endif
-ifeq ($(ARCH), x86_64)
+ifeq ($(ARCH), x86-64)
use_fast_lock=yes
endif
@@ -528,8 +528,8 @@
endif #CC_NAME, gcc
endif #ARCH, i386
-#x86_64
-ifeq ($(ARCH), x86_64)
+#x86-64
+ifeq ($(ARCH), x86-64)
# if gcc
ifeq ($(CC_NAME), gcc)
#common stuff
@@ -554,7 +554,7 @@
CPU ?= athlon64
CFLAGS+=-minline-all-stringops \
-falign-loops
- #-mcpu=$(CPU) \ # not working on all x86_64 gccs
+ #-mcpu=$(CPU) \ # not working on all x86-64 gccs
#-mcpu=athlon
else
ifeq ($(CC_SHORTVER), 2.9x) #older gcc version (2.9[1-5])
@@ -586,7 +586,7 @@
$(error Unsupported compiler ($(CC):$(CC_NAME)), try gcc)
endif #CC_NAME, icc
endif #CC_NAME, gcc
-endif #ARCH, x86_64
+endif #ARCH, x86-64
#if sparc
ifeq ($(ARCH), sparc64)