1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Port to amd64.

Submitted by:	James Van Artsdalen <james-freebsd-amd64 at jrv.org>, gallatin, kan
This commit is contained in:
Kris Kennaway 2004-03-25 10:17:38 +00:00
parent 82c19060e8
commit e5a91991c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105210
3 changed files with 20 additions and 2 deletions

View File

@ -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>

View File

@ -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

View File

@ -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;