aboutsummaryrefslogtreecommitdiffstats
path: root/editors/xemacs-devel
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2005-05-04 17:30:21 +0800
committerlesi <lesi@FreeBSD.org>2005-05-04 17:30:21 +0800
commit18c8bbef0c021f11aeb5a5a5b3472d655b3bb8ff (patch)
treed0e4b04c5937263de990a468075b7464707ec115 /editors/xemacs-devel
parent16c0fa4e219c596edcd750661b0294fe61bd6290 (diff)
downloadfreebsd-ports-gnome-18c8bbef0c021f11aeb5a5a5b3472d655b3bb8ff.tar.gz
freebsd-ports-gnome-18c8bbef0c021f11aeb5a5a5b3472d655b3bb8ff.tar.zst
freebsd-ports-gnome-18c8bbef0c021f11aeb5a5a5b3472d655b3bb8ff.zip
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).
Diffstat (limited to 'editors/xemacs-devel')
-rw-r--r--editors/xemacs-devel/Makefile2
-rw-r--r--editors/xemacs-devel/files/patch-ak2
2 files changed, 1 insertions, 3 deletions
diff --git a/editors/xemacs-devel/Makefile b/editors/xemacs-devel/Makefile
index f71b5a2eb1e1..a3e557e69043 100644
--- a/editors/xemacs-devel/Makefile
+++ b/editors/xemacs-devel/Makefile
@@ -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 \
diff --git a/editors/xemacs-devel/files/patch-ak b/editors/xemacs-devel/files/patch-ak
index 1284f826cc7e..a406a5117250 100644
--- a/editors/xemacs-devel/files/patch-ak
+++ b/editors/xemacs-devel/files/patch-ak
@@ -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