summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2005-03-13 09:19:30 +0100
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:03:10 +0200
commit248d2120ca00c855b7980435becf1c5c24f60209 (patch)
treef312f29c2bc6f685fc4a22ef7764b6b39ed4cf71
parent892feaec7c43f44b4c1dd21b65944dacad0fa651 (diff)
Fix for build problems on Gentoo amd64 systems.
* ARCH is defined to amd64, so make sure the Makefile handles that value correctly. * When using the local X includes, the lib64 directory was missing. Fixed this with a symlink.
-rw-r--r--Makefile3
l---------Xincludes/usr/X11R6/lib641
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 739898f..e12377f 100644
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,9 @@ MANDIR = $(DESTDIR)/usr/local/man/man1
ifeq ($(ARCH),)
ARCH = $(shell /bin/arch)
endif
+ifeq ($(ARCH),amd64)
+ ARCH = x86_64
+endif
ifeq ($(ARCH),x86_64)
ARCH_DEFINES = -D__x86_64__ -D_XSERVER64
LIBDIR = lib64
diff --git a/Xincludes/usr/X11R6/lib64 b/Xincludes/usr/X11R6/lib64
new file mode 120000
index 0000000..7951405
--- /dev/null
+++ b/Xincludes/usr/X11R6/lib64
@@ -0,0 +1 @@
+lib \ No newline at end of file