diff options
author | kris <kris@FreeBSD.org> | 2004-03-25 18:17:38 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-25 18:17:38 +0800 |
commit | 7efb23c0e217a7d43fc950f069e21e8dfd7d5eab (patch) | |
tree | 27033bb1c5e9fb418245cdf2c9f4c9f5edf4949c /editors/xemacs | |
parent | 6d6e3362578c93cb282e34d891b29c905c1cafda (diff) | |
download | freebsd-ports-gnome-7efb23c0e217a7d43fc950f069e21e8dfd7d5eab.tar.gz freebsd-ports-gnome-7efb23c0e217a7d43fc950f069e21e8dfd7d5eab.tar.zst freebsd-ports-gnome-7efb23c0e217a7d43fc950f069e21e8dfd7d5eab.zip |
Port to amd64.
Submitted by: James Van Artsdalen <james-freebsd-amd64 at jrv.org>, gallatin, kan
Diffstat (limited to 'editors/xemacs')
-rw-r--r-- | editors/xemacs/Makefile | 9 | ||||
-rw-r--r-- | editors/xemacs/files/patch-ak | 2 | ||||
-rw-r--r-- | editors/xemacs/files/patch:mem-limits.h | 11 |
3 files changed, 20 insertions, 2 deletions
diff --git a/editors/xemacs/Makefile b/editors/xemacs/Makefile index 67b3c883a86a..86f202213445 100644 --- a/editors/xemacs/Makefile +++ b/editors/xemacs/Makefile @@ -52,6 +52,13 @@ ALL_TARGET= all dist PLIST_SUB= XEMACS_VER=${XEMACS_VER} XEMACS_ARCH=${XEMACS_ARCH} +.include <bsd.port.pre.mk> + +# Undump and malloc do not behave on amd64 at the moment +.if ${ARCH} == amd64 +CONFIGURE_ARGS+=--with-system-malloc --pdump +.endif + pre-fetch: .if !defined(WANT_GTK) @${ECHO_MSG} "If you want to use GTK, please set the environment variable WANT_GTK " @@ -122,4 +129,4 @@ post-install:: @${ECHO_MSG} "to ${PORTNAME}${PKGNAMESUFFIX}-${XEMACS_VER}." .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/editors/xemacs/files/patch-ak b/editors/xemacs/files/patch-ak index a45db5e1084d..1284f826cc7e 100644 --- a/editors/xemacs/files/patch-ak +++ b/editors/xemacs/files/patch-ak @@ -4,7 +4,7 @@ # include <sys/exec_elf.h> #endif -+#if defined(__FreeBSD__) && defined(__alpha__) ++#if defined(__FreeBSD__) && (defined(__alpha__) || defined(__amd64__)) +# ifdef __STDC__ +# define ElfW(type) Elf64_##type +# else diff --git a/editors/xemacs/files/patch:mem-limits.h b/editors/xemacs/files/patch:mem-limits.h new file mode 100644 index 000000000000..a5ce6cb35839 --- /dev/null +++ b/editors/xemacs/files/patch:mem-limits.h @@ -0,0 +1,11 @@ +--- src/mem-limits.h.bak Thu Mar 18 13:08:19 2004 ++++ src/mem-limits.h Thu Mar 18 13:08:42 2004 +@@ -108,7 +108,7 @@ + static POINTER data_space_start; + + /* Number of bytes of writable memory we can expect to be able to get */ +-extern unsigned int lim_data; ++extern rlim_t lim_data; + + #if defined (HEAP_IN_DATA) && !defined(PDUMP) + extern unsigned long static_heap_size; |