1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Generalize a part of patch-ak to all _LP64 archs. An __alpha__ check is

still needed as cpp on 4-STABLE does not define _LP64 on alpha.
This makes xemacs-devel build sparc64, so remove NOT_FOR_ARCHS. Hopefully
this also fixes things on ia64 (failure there reported by kris).
This commit is contained in:
Dejan Lesjak 2005-05-04 09:30:21 +00:00
parent 324ebf355f
commit 6997c7ef17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134586
2 changed files with 1 additions and 3 deletions

View File

@ -19,8 +19,6 @@ DIST_SUBDIR= xemacs
MAINTAINER= ports@FreeBSD.org
COMMENT= This port tracks the development (GAMMA) version of the XEmacs text editor
NOT_FOR_ARCHS= sparc64
RUN_DEPENDS+= ${LOCALBASE}/lib/xemacs/xemacs-packages/etc/enriched.doc:${PORTSDIR}/editors/xemacs-packages
.if !defined(WITHOUT_X11)
LIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg \

View File

@ -4,7 +4,7 @@
# include <sys/exec_elf.h>
#endif
+#if defined(__FreeBSD__) && (defined(__alpha__) || defined(__amd64__))
+#if defined(__FreeBSD__) && (defined(__alpha__) || defined(_LP64))
+# ifdef __STDC__
+# define ElfW(type) Elf64_##type
+# else